Re: [prometheus-developers] Re: auto discover of targets in Prometheus

2021-02-21 Thread Gajendra D Ambi
the ipam sd sounds intriguing but i wonder if this is true with prometheus on k8s since the configmap is presented as a secret to prometheus. On Sun, Feb 21, 2021, 6:33 PM Stuart Clark wrote: > On 20/02/2021 15:08, Gajendra D Ambi wrote: > > Hi Team, > > Yes we do have a IPAM available. When we

Re: [prometheus-developers] Re: auto discover of targets in Prometheus

2021-02-21 Thread Stuart Clark
On 20/02/2021 15:08, Gajendra D Ambi wrote: Hi Team, Yes we do have a IPAM available. When we run prometheus node exporter agent it starts showing up metrics at ip/metrics. I was hoping for a way to give a range of ip addresses to prometheus, rather than adding them each as a static target.

Re: [prometheus-developers] Re: auto discover of targets in Prometheus

2021-02-20 Thread Gajendra D Ambi
Hi Team, Yes we do have a IPAM available. When we run prometheus node exporter agent it starts showing up metrics at ip/metrics. I was hoping for a way to give a range of ip addresses to prometheus, rather than adding them each as a static target. What would be the best way for us then! with 100s

Re: [prometheus-developers] Re: auto discover of targets in Prometheus

2021-02-19 Thread Ben Kochie
Prometheus absolutely does do dynamic discovery. See the scrape_config section of the docs: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config There are 16 available XXX_sd_configs options there. If your source of truth isn't listed, you can either write your

Re: [prometheus-developers] Re: auto discover of targets in Prometheus

2021-02-19 Thread Stuart Clark
On 19/02/2021 22:19, Gajendra Ambi wrote: Hi, I too just discovered that it does not do dynamic discovery. I have to tell prometheus to see it by using file based discovery in prometheus. This is very unfortunate where we have 100s of nodes and growing and each group of devs who own them get

Re: [prometheus-developers] Re: auto discover of targets in Prometheus

2021-02-19 Thread Gajendra Ambi
Hi, I too just discovered that it does not do dynamic discovery. I have to tell prometheus to see it by using file based discovery in prometheus. This is very unfortunate where we have 100s of nodes and growing and each group of devs who own them get to add them when they want. Currently it

Re: [prometheus-developers] Re: auto discover of targets in Prometheus

2021-02-19 Thread Julien Pivotto
On 19 Feb 14:00, Gajendra Ambi wrote: > Everyone gives the same link > https://prometheus.io/docs/prometheus/latest/configuration/configuration when > asked about auto discovery of physical nodes but the entire page has only 2 > occurences of the word auto-discovery. > We have 700+ physical

[prometheus-developers] Re: auto discover of targets in Prometheus

2021-02-19 Thread Gajendra Ambi
Everyone gives the same link https://prometheus.io/docs/prometheus/latest/configuration/configuration when asked about auto discovery of physical nodes but the entire page has only 2 occurences of the word auto-discovery. We have 700+ physical servers and Prometheus is running on k8s (targets