Prometheus Auto discovery

57 views
Skip to first unread message

monika samal

unread,
Sep 11, 2020, 2:15:00 AM9/11/20
to Prometheus Users
Hello,

I am want my Prometheus master machine to automatically add new host whenever launched be monitored without manually adding it to prometheus.yml file...is there any way out?

Ben Kochie

unread,
Sep 11, 2020, 2:20:03 AM9/11/20
to monika samal, Prometheus Users
https://prometheus.io/docs/prometheus/latest/configuration/configuration/

Pick the one that matches your inventory needs:

azure_sd_config
consul_sd_config
digitalocean_sd_config
dns_sd_config
dockerswarm_sd_config
ec2_sd_config
file_sd_config
gce_sd_config
kubernetes_sd_config
marathon_sd_config
nerve_sd_config
openstack_sd_config
serverset_sd_config
triton_sd_config


On Fri, Sep 11, 2020 at 8:15 AM monika samal <monika...@gmail.com> wrote:
Hello,

I am want my Prometheus master machine to automatically add new host whenever launched be monitored without manually adding it to prometheus.yml file...is there any way out?

--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c9ad692b-9fe6-48d9-bc09-b28e386e7d6en%40googlegroups.com.

ishu...@gmail.com

unread,
Nov 23, 2020, 3:37:04 AM11/23/20
to Prometheus Users
Hi Monika,

are you able to find your way? even i have same question as with each new node being added for metrics collection, i have to update my yml file which is not smart way of doing things.

Thanks
Eswar

Reply all
Reply to author
Forward
0 new messages