Public bug reported: Release: 20.04 prometheus-pgbouncer-exporter: 1.7-1
This pgbouncer exporter is incompatible with any pgbouncer version after 1.8. Ubuntu 20 installs 1.12.0 and the postgres repos 1.13.0 >From version 1.8 pgbouncer stopped returning the "total_requests" field to the STATS command and the exporter fails when it can't find the obsolete field in the query results. A temporary workaround is replacing the "total_requests" reference in /usr/lib/python3/dist- packages/prometheus_pgbouncer_exporter/collectors.py with, for example total_query_count A better solution would be replacing the exporter with one with proper suppport for different pgbouncer versions like https://github.com/spreaker/prometheus-pgbouncer-exporter ** Affects: prometheus-pgbouncer-exporter (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887656 Title: prometheus-pgbouncer-exporter is incompatible with pgbouncer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/prometheus-pgbouncer-exporter/+bug/1887656/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs