prometheus/discovery/openstack
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
..
hypervisor.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
hypervisor_test.go fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2024-10-06 16:35:29 +00:00
instance.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
instance_test.go discovery: move openstack floating ips function from deprecated Compute API /os-floating-ips to Network API /floatingips (#14367) 2025-01-21 11:40:15 +01:00
loadbalancer.go refactor[discovery, tsdb]: simplify error handling and remove redundant checks (#16328) 2025-03-27 12:20:59 +01:00
loadbalancer_test.go fix: fix testing 2025-01-21 11:18:34 +00:00
metrics.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
mock_test.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
openstack.go feat: add config label to refresh metrics 2025-10-14 11:36:14 -04:00