-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Prometheus service discovery #18
Comments
Comment from Vachagan:
|
ConsulUse consul for service discovery. The Prometheus exporter will be extended to optionally support Consul. To use Consul support, add the
We will tell Prometheus to ask Consul for the list of targets to scrape by using Prometheus' Add an exporter to
See consul configuration options for the full list of configuration options. Configure Prometheus to find targets from ConsulContinuing with the example, we tell Prometheus to scrape our Consul registered pollers by adding a new scrape config to the
This tells Prometheus to ask Consul (running on See Prometheus Consul_sd_config for the full list of ways to configure Consul Config OptionsNOTE When An overview of Consul parameters defined as children of the
Example:
References |
this looks great, thanks for the detailed breakdown. the only downside is that users have to install an additional software where Prometheus is running. |
Closed by #575 |
Harvest should use one of Prometheus's existing service discovery options to make it easier for customers to add hundreds of pollers to Harvest without having to specify the exact port for each poller and each Prometheus target.
Reference
https://prometheus.io/docs/guides/file-sd/
https://prometheus.io/blog/2018/07/05/implementing-custom-sd/
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config
https://yetiops.net/posts/prometheus-srv-discovery/
The text was updated successfully, but these errors were encountered: