prometheus-community / postgres_exporter

A PostgreSQL metric exporter for Prometheus
Apache License 2.0
2.82k stars 743 forks source link

statio_user_tables shows only postgres database schemas #984

Open vvitad opened 11 months ago

vvitad commented 11 months ago

What did you do? installed and configured postgres_exporter. aside postgres database, there is another one, let's call it userdb What did you expect to see? metrics like pg_statio_user_tables_tidx_blocks_read for tables in database userdb What did you see instead? Under which circumstances? I see only metrics for schemas in postgres database. looks like it doesn't have access by default there? to see pg_stat_user_tables for schemas in userdb I need to connect to it first, but you say in readme that connection string should consist of only postgres database

Environment