VictoriaMetrics/lib/promscrape/discovery/consul
Aliaksandr Valialkin 86394b4179
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:18:19 +03:00
..
agent_test.go lib/promscrape: add Prometheus-compatible service discovery for Consul aka consul_sd_configs 2020-05-04 20:53:06 +03:00
agent.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
api.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:55:20 +03:00
consul.go lib/promscrape/discovery/consul: allow stale responses from Consul service discovery by default 2022-08-05 15:04:05 +03:00
service_node_test.go adds consul enterprise namespace support (#1400) 2021-06-22 12:56:11 +03:00
service_node.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:18:19 +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:48 +03:00