Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic list of targets #35

Open
pulecp opened this issue Oct 19, 2020 · 1 comment
Open

dynamic list of targets #35

pulecp opened this issue Oct 19, 2020 · 1 comment

Comments

@pulecp
Copy link

pulecp commented Oct 19, 2020

I have a suggestion for enhancement. Currently a list of targets can be specified only statically in a config file. It would be useful when there would be some way how to change targets dynamically.

It could use the same principle as file_sd_config option in Prometheus. A config file can point to a json/yaml file with a list of targets. Prometheus checks this file and reloads itself in case of change.

I really appreciate it and thanks for the work you did so far!

Adphi added a commit to partitio/ping_exporter that referenced this issue Mar 22, 2021
@christopherime
Copy link

Maybe instead of having an external target list for the exporter, implement a behaviour similar to snmp_Exporter or blackbox_exporter.
From prometheus configuration relabeling behaviour is used so we user only maintained the target list for prometheus config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants