#991879#5
Date:
2021-08-04 11:09:34 UTC
From:
To:
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.

#991879#12
Date:
2024-11-20 18:18:03 UTC
From:
To:
Dear submitter,

as the package prometheus-pgbouncer-exporter has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1086700

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)