VictoriaMetrics/lib/promscrape/discovery/consul
Aliaksandr Valialkin c06e7a142c
lib/promscrape: optimize discoveryutils.SanitizeLabelName()
Cache sanitized label names and return them next time.
This reduces the number of allocations and speeds up the SanitizeLabelName()
function for common case when the number of unique label names is smaller than 100k
2022-08-27 00:17:45 +03:00
..
agent.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
agent_test.go lib/promscrape: add Prometheus-compatible service discovery for Consul aka consul_sd_configs 2020-05-04 20:51:17 +03:00
api.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00
consul.go lib/promscrape/discovery/consul: allow stale responses from Consul service discovery by default 2022-08-05 14:41:40 +03:00
service_node.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:17:45 +03:00
service_node_test.go adds consul enterprise namespace support (#1400) 2021-06-22 12:49:44 +03:00
watch.go lib/promscrape: update links to sd_configs from Prometheus site to https://docs.victoriametrics.com/sd_configs.html 2022-08-15 01:40:20 +03:00