Automatic target discovery for multiple databases? #539
-
I've had a look around the code, README, etc and I didn't find any means of auto-discovering target databases to scrape. Most scrapers like Is there a means to do any similar sort of discovery with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @ringerc, For instance, I have my custom solutions around sql_exporter (say, the core), going beyond standard available operations, interacting with the config and adjusting the scraping behaviour as per my needs. I plan to start working on the operator for Kubernetes-based infrastructure, so the problem in that scope would be reduced to managing Metric resources which is a user responsibility anyway (they will be merged and sync with the exporter). For custom environments (e.g. on-prem or plain VM hosts in the cloud) I guess it needs to be solved in a custom way. |
Beta Was this translation helpful? Give feedback.
Hey @ringerc,
sql_exporter
is quite simple, db-agnostic and SQL-focused (and not database) exporter in the first place, so there's no such functionality built-in. It is possible to update config and reload the exporter (there's an endpoint for that) on the fly, so effectively such functionality would be a part of some external tooling as you pointed it out.For instance, I have my custom solutions around sql_exporter (say, the core), going beyond standard available operations, interacting with the config and adjusting the scraping behaviour as per my needs.
I plan to start working on the operator for Kubernetes-based infrastructure, so the problem in that scope would be reduced to managin…