commit | 306a317ddacff2736bfc0d90a8e92f47ff551a88 | [log] [tgz] |
---|---|---|
author | Jarek Potiuk <jarek.potiuk@polidea.com> | Sat Jul 04 15:15:50 2020 +0200 |
committer | GitHub <noreply@github.com> | Sat Jul 04 15:15:50 2020 +0200 |
tree | fc3ffc1e3ce96cac9764e23f1e7cb83798f35588 | |
parent | 160f5609160c00acd3ef8d442dc5a0fdf25b469f [diff] | |
parent | b3d00b563b5df3118b72ef157bea83ad73b4602e [diff] |
Merge pull request #1 from apache/airflow-modifications Airflow modifications of the pgbouncer exporter
Prometheus exporter for Pgbouncer metrics.
Metrics are by default exposed on http server running on port 9127
under the /metrics
path.
docker run \ --detach \ --env "DATABASE_URL=postgres://user:password@pgbouncer:6432/pgbouncer?sslmode=disable" \ --publish "9127:9127" \ --name "pgbouncer_exporter" \ jbub/pgbouncer_exporter
All of the collectors are enabled by default, you can control that using environment variables by settings it to true
or false
.
Name | Description | Env var | Default |
---|---|---|---|
stats | Per database requests stats. | EXPORT_STATS | Enabled |
pools | Per (database, user) connection stats. | EXPORT_POOLS | Enabled |
databases | List of configured databases. | EXPORT_DATABASES | Enabled |
lists | List of internal pgbouncer information. | EXPORT_LISTS | Enabled |