Open atsu0127 opened 1 year ago
@atsu0127 Did you figure it out?
There are now collectors enabled/disabled individually via their flags (i.e. --collector.database
or the option to turn it off --no-collector.database
). Some of the collectors are enabled by default while others are disabled by default. The option PG_EXPORTER_DISABLE_DEFAULT_METRICS
will probably be removed at some point in the future. The intention is for this exporter to provide good out of the box metrics about postgres itself. For custom queries around business metrics, we would advise using an generic sql exporter like https://github.com/burningalchemist/sql_exporter
What did you do?
I ran postgres-exporter with environment variables set like below.
And I ran call.
What did you expect to see? Only the following can be confirmed.
I figured it would be as above because the README said the following.
What did you see instead? Under which circumstances? Other metrics are shown.
Environment
postgres_exporter version:
postgres_exporter flags:
PostgreSQL version:
13.5
Logs: