Hi Guys,
I have process exporter installed on some of the nodes, and i have below snippet setup in prometheus.yml:
- job_name: 'process'
static_configs:
- targets: [host1:9256, host2:9256, host3:9256.........host10:9256]
Problem with above setup is that every time i onboard process exporter on a new node, i have to update targets list manually and redeploy the prometheus.
is there any was that i can make this works dynamically? so what i meant is, every time prometheus refreshes its scrape it should pick the newly installed node.
Appreciate your quick response.
Regards,
Naveen.