Re: [prometheus-users] scrape targets on Prometheus

2023-03-02 Thread Stuart Clark

On 02/03/2023 17:29, Pratibha Channamsetty wrote:

Hi,
I have thousandĀ  stateful servers. I am not able to use any of 
Prometheus service discovery approach.
Is there a way I can useĀ  either ip CIDR range for target scrapping or 
regex patter on hostnames.


Any other better approach will help here .

I would suggest using the file SD option and then having a tool creating 
a JSON/YAML file containing the servers to scrape.


Is there really no list of those servers? For example are you using 
something like Ansible or Chef to provision/maintain them?


--
Stuart Clark

--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/5ed4f3b1-4305-5fd9-acd9-f3ac2a7bb03c%40Jahingo.com.


[prometheus-users] scrape targets on Prometheus

2023-03-02 Thread Pratibha Channamsetty
Hi,
I have thousand  stateful servers. I am not able to use any of Prometheus 
service discovery approach. 
Is there a way I can use  either ip CIDR range for target scrapping or 
regex patter on hostnames. 

Any other better approach will help here .


Thanks

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/01ed6102-3e71-4d30-a236-51e75e0cf5f3n%40googlegroups.com.