VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 09670479cd lib/promscrape: reduce CPU usage for common case when calculating scrape_series_added metric
Also reduce CPU usage when applying `series_limit` to scrape targets with constant set of metrics.

The main idea is to perform the calculations on scrape_series_added and series_limit
only if the set of metrics exposed by the target has been changed.
Scrape targets rarely change the set of exposed metrics,
so this optimization should reduce CPU usage in general case.
2021-09-12 12:53:45 +03:00
..
discovery lib/promscrape/discovery/kubernetes: return back support role: endpointslices, since it is used by VictoriaMetrics operator 2021-08-29 12:37:36 +03:00
discoveryutils adds http_sd (#1399) 2021-06-22 13:42:09 +03:00
testdata lib/promscrape: add ability to load scrape configs from multiple files 2021-08-26 08:51:53 +03:00
client.go lib/promscrape: increase the duration for reading the full response in stream parsing mode 2021-06-14 12:29:46 +03:00
config.go lib/promscrape: add ability to set series_limit and stream_parse options via relabeling 2021-09-09 18:51:23 +03:00
config_test.go lib/promscrape: add ability to set series_limit and stream_parse options via relabeling 2021-09-09 18:51:23 +03:00
scraper.go lib/promscrape: add ability to load scrape configs from multiple files 2021-08-26 08:51:53 +03:00
scrapework.go lib/promscrape: reduce CPU usage for common case when calculating scrape_series_added metric 2021-09-12 12:53:45 +03:00
scrapework_test.go lib/promscrape: reduce CPU usage for common case when calculating scrape_series_added metric 2021-09-12 12:53:45 +03:00
scrapework_timing_test.go app/vmagent: follow-up after fe445f753b 2021-08-05 09:51:00 +03:00
statconn.go all: make go vet happy 2021-03-17 00:48:44 +02:00
targets_response.qtpl lib/promscrape: restore red highlighting for DOWN targets at /targets page 2021-08-15 16:04:33 +03:00
targets_response.qtpl.go lib/promscrape: restore red highlighting for DOWN targets at /targets page 2021-08-15 16:04:33 +03:00
targetstatus.go lib/promscrape: show jobs with empty scrape targets on /targets page 2021-06-18 10:54:12 +03:00