Hi,
I have questions regarding to the postgres_exporter metrics.
It looks like CrunchyData/pgmonitor/postgres_exporter uses prometheus-community/postgres-exporter and add some custom metrics on top of default metrics. However, they have some overlapping metrics such as
- ccp_stat_bgwriter_* and pg_stat_bgwriter_*
- ccp_stat_database_* and pg_stat_database_*
pgmonitor uses --disable-default-metrics, but PGO doesn't use this option. (internal/controller/postgrescluster/pgmonitor.go line 282-285)
It seems repetitive and adds a little bit of overhead to Prometheus.
Any reasons for that?
Regards,
Ken Kato