Skip to content
Discussion options

You must be logged in to vote

The number of endpoints returned by /api/v1/sd will match the number of pollers in your harvest.yml that have been configured to use a Prometheus exporter.

No scaling is done based on metric volume.

The advantage of service discovery over static scrape targets is one of configuration. Using service discovery means you do not have to keep the harvest.yml Prometheus ports in-sync with Prometheus's static_configs.targets. There are multiple ways to keep those files in-sync, service discovery is one of them.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by songlin-rgb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants