prometheus/discovery/vultr
Will Bollock e894a22b88 feat: add config label to refresh metrics
Adds a `config` label (similar to `prometheus_sd_discovered_targets`) to
refresh metrics to help identify the source of refresh issues or
performance stats. In particular for HTTP SD, it can be common to have
multiple disparate HTTP SD sources that should be identified and not
lumped together. For example if one HTTP SD service has failures, that
should be evident in its own time series seperate from other HTTP SD
sources.

`config` seemed more appropriate than `endpoint` as a general standard
for `prometheus_sd` metrics.

Docs were also updated for HTTP SD to point at the new refresh metrics
rather than the older metrics.

Signed-off-by: Will Bollock <wbollock@linode.com>
2025-10-14 11:36:14 -04:00
..
metrics.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
mock_test.go ci(lint): enable godot; append dot at the end of comments 2023-10-31 19:53:38 +02:00
vultr.go feat: add config label to refresh metrics 2025-10-14 11:36:14 -04:00
vultr_test.go feat: add config label to refresh metrics 2025-10-14 11:36:14 -04:00