Package: prometheus-pgbouncer-exporter Version: 1.7-2 I am running this against bullseye, not buster. This package, when run against pgbouncer supplied by bullseye, does not work. (I have not tested this against the version of pgbouncer released with buster.) It returns this error when you run it:
Traceback (most recent call last): File "/usr/bin/prometheus-pgbouncer-exporter", line 33, in <module> sys.exit(load_entry_point('prometheus-pgbouncer-exporter==0.0.0', 'console_scripts', 'prometheus-pgbouncer-exporter')()) File "/usr/lib/python3/dist-packages/prometheus_pgbouncer_exporter/cli.py", line 114, in main REGISTRY.register(StatsCollector( File "/usr/lib/python3/dist-packages/prometheus_client/registry.py", line 26, in register names = self._get_names(collector) File "/usr/lib/python3/dist-packages/prometheus_client/registry.py", line 66, in _get_names for metric in desc_func(): File "/usr/lib/python3/dist-packages/prometheus_pgbouncer_exporter/collectors.py", line 54, in collect value = row[key] KeyError: 'total_requests' This is because the output from "show stats" has changed and no longer includes a field called "total_requests". The source package has not been updated to correct this bug, either. This package is functionally useless at this point in time.