Apache airflow

Clone this repo:
  1. af9089e Add Hadolint compatibility by Jarek Potiuk · 3 months ago development
  2. 306a317 Merge pull request #1 from apache/airflow-modifications by Jarek Potiuk · 5 months ago master
  3. b3d00b5 Airflow modifications of the pgbouncer-exporter by Jarek Potiuk · 5 months ago airflow-modifications
  4. 160f560 Merge pull request #4 from jbub/const-metrics by Juraj Bubniak · 11 months ago
  5. 470d1d6 Refactor exporter to use NewConstMetric. by Juraj Bubniak · 11 months ago

Pgbouncer exporter

Build Status Docker Pulls Go Report Card

Prometheus exporter for Pgbouncer metrics.

Docker

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

Collectors

All of the collectors are enabled by default, you can control that using environment variables by settings it to true or false.

NameDescriptionEnv varDefault
statsPer database requests stats.EXPORT_STATSEnabled
poolsPer (database, user) connection stats.EXPORT_POOLSEnabled
databasesList of configured databases.EXPORT_DATABASESEnabled
listsList of internal pgbouncer information.EXPORT_LISTSEnabled