Please see the documented list of available service discovery methods: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config
On Sat, May 1, 2021 at 9:57 AM [email protected] <[email protected]> wrote: > 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. > > > -- > 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/a2efefef-b9a6-417e-afe6-47de0312ed35n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/a2efefef-b9a6-417e-afe6-47de0312ed35n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CABbyFmqq5OhehVKY-%3DNsQcet9p%3DnN3FAHR%3DkrGs2JW5_A85mrg%40mail.gmail.com.

