db-operator / charts

db-operator Helm charts repository
3 stars 2 forks source link

Service monitor per dbin #25

Closed allanger closed 7 months ago

allanger commented 7 months ago

Instead of creating one service monitor for the whole chart, I'm creating a service monitor per DbIn with .serviceMonitor.enabled

Also, I've added a helm test with ci, so we can check that the data from the pg_exporter is scraped by prometheus, I don't test the logic of scraping, only that there is something from the exporter, to see if ServiceMonitor is working

It's a major version bump, cause it's a breaking change.