How to auto scrape host

28 views
Skip to first unread message

QuangLN

unread,
May 7, 2020, 12:12:38 AM5/7/20
to Prometheus Users
Hi everyone, 
I want to auto scrape host when host installed node_exporter. File_base is manually.
How can i do that ?
Thanks !

Brian Candler

unread,
May 7, 2020, 2:28:03 AM5/7/20
to Prometheus Users
By getting the host to register itself to some service discovery mechanism which prometheus uses to control its scrape config.  Consul is one of the options this.

Quang Lê

unread,
May 22, 2020, 5:14:29 AM5/22/20
to Brian Candler, Prometheus Users
Thank for your support !

I'm using Consul for Service Discovery. I have: 1 Server + 1 client. 
I have created 1 service on Server but it not appeared in Client. How to auto create service on one Node and also appeare in all Node ( or some node by define) 

Please help me !
Thank you !

Vào Th 5, 7 thg 5, 2020 vào lúc 13:28 Brian Candler <b.ca...@pobox.com> đã viết:
By getting the host to register itself to some service discovery mechanism which prometheus uses to control its scrape config.  Consul is one of the options this.

--
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/0e8ddf49-e141-44d3-a6a0-0e27ccdb815a%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages