Since the monitoring is currently enabled on the dbin level, pg_exporter should be able to scrape metrics from all the databases on the instances.
pg_exporter documentation:
--auto-discovery or PG_EXPORTER_AUTO_DISCOVERY will automatically spawn peripheral servers for other databases in the target PostgreSQL server. except for those listed in --exclude-database. (Not implemented yet)
I guess that --exclude-database is not implemented, cause it's not that obvious after reading the readme, but I've tried setting this variable in the exporter deployment, and it seemed to work
Since the monitoring is currently enabled on the dbin level, pg_exporter should be able to scrape metrics from all the databases on the instances.
pg_exporter documentation:
I guess that --exclude-database is not implemented, cause it's not that obvious after reading the readme, but I've tried setting this variable in the exporter deployment, and it seemed to work