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

Reply via email to