VictoriaMetrics/lib/promscrape
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
..
discovery lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:17:45 +03:00
discoveryutils lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:17:45 +03:00
testdata lib/promscrape: fix errors in test config 2022-02-08 19:56:37 +02:00
client.go all: subsitute ioutil.ReadAll with io.ReadAll 2022-08-22 00:16:37 +03:00
config_test.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:17:45 +03:00
config.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:17:45 +03:00
scraper.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
scrapework_test.go lib/promscrape: automatically generate additional per-target labels for targets with non-zero series limit 2022-08-17 13:19:33 +03:00
scrapework_timing_test.go lib/promscrape: follow-up after 2c553d5a2f 2022-08-08 14:46:26 +03:00
scrapework.go all: subsitute ioutil.ReadAll with io.ReadAll 2022-08-22 00:16:37 +03:00
statconn.go lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
targetstatus.go all: follow-up after 8edb390e21 2022-06-07 00:57:09 +03:00
targetstatus.qtpl Revert "lib/promscrape, vmagent: fix path to files (#2801)" 2022-06-30 18:23:56 +03:00
targetstatus.qtpl.go Revert "lib/promscrape, vmagent: fix path to files (#2801)" 2022-06-30 18:23:56 +03:00