https://github.com/prometheus-community/postgres_exporter#setting-the-postgres-servers-data-source-name says: *"you can set a list of sources to scrape different instances from the one exporter setup. Just define a comma separated string."*
I suggest you try that first. If it doesn't work, then at worst you can run multiple instances of postgres_exporter bound to different ports. On Monday, 20 June 2022 at 12:17:22 UTC+1 Vanshika Sahgal wrote: > How to monitor multiple postgres databases using postgres exporter and > prometheus? -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/18652957-806b-4468-ad18-a0337c505711n%40googlegroups.com.

