prometheus-community / postgres_exporter

A PostgreSQL metric exporter for Prometheus
Apache License 2.0
2.72k stars 724 forks source link

After upgrade to latest 0.14.0 null values appears for various metrics #958

Open garry-t opened 10 months ago

garry-t commented 10 months ago

What did you do? upgrade to 0.14.0 What did you expect to see? no null values What did you see instead? Under which circumstances?

image

Environment Ubuntu 22.04

postgres_exporter, version 0.14.0 (branch: HEAD, revision: c06e57db4e502696ab4e8b8898bb2a59b7b33a59)
  build user:       root@f2337de13240
  build date:       20230920-01:43:49
  go version:       go1.20.8
  platform:         linux/amd64
  tags:             netgo static_build
/opt/prometheus/postgres_exporter/postgres_exporter --collector.long_running_transactions --collector.stat_statements --web.listen-address :9187
garry-t commented 10 months ago

Problem solved after downgrade to 0.9.0

garry-t commented 10 months ago

So definitely picture is not good. I don't know why but exporter has connection leakage problem, it hangs our backend connection and database like in freeze state service works but nothing happened. image