VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 50f5eae0e0
lib/promrelabel: remove unconditional sorting of the labels in ParsedConfigs.Apply(), since the sorting isnt needed in many places
Sort labels explicitly after calling the ParsedConfigs.Apply() when needed.

This reduces CPU usage when performing metric-level relabeling, where labels' sorting isn't needed.
2022-10-09 14:51:16 +03:00
..
discovery lib/promscrape/discovery/azure: remove unneeded conversion to string 2022-10-01 16:04:37 +03:00
discoveryutils lib/bytesutil: move InternString() from lib/promscrape/discoverytutils to lib/bytesutil 2022-09-30 07:44:35 +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.go lib/promrelabel: remove unconditional sorting of the labels in ParsedConfigs.Apply(), since the sorting isnt needed in many places 2022-10-09 14:51:16 +03:00
config_test.go lib/promscrape: allow controlling staleness tracking on a per-scrape_config basis 2022-10-07 23:36:14 +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.go lib/promrelabel: remove unconditional sorting of the labels in ParsedConfigs.Apply(), since the sorting isnt needed in many places 2022-10-09 14:51:16 +03:00
scrapework_test.go lib/promscrape: add external_labels from global section of -promscrape.config after the relabeling is applied to the scraped metrics 2022-10-01 16:13:19 +03:00
scrapework_timing_test.go lib/promscrape: follow-up after 2c553d5a2f 2022-08-08 14:46:26 +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 lib/promscrape: allow specifying full target url in __address__ label 2022-10-07 22:43:04 +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