VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 0452a8d4e8
lib/promscrape: store the full response in stream parsing mode in scrapeWork.lastScrape byte slice
This allows sending staleness marks and properly calculate scrape_series_added metric in stream parsing mode
at the cost of the increased memory usage, since now the potentially big response is kept
in the lastScrape byte slice per each scrapeWork.

In practice the memory usage increase shouldn't be big, since the response size
is usually much smaller than the parsed metrics from this response after the relabeling,
which usually adds a big pile of target-specific labels per each metric.
2021-10-15 15:26:24 +03:00
..
discovery lib/promscrape/discovery/kubernetes: rename endpointslices.go -> endpointslice.go in order to be consistent with EndpointSlice struct name 2021-10-15 12:27:31 +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: add vm_promscrape_max_scrape_size_exceeded_errors_total metric for counting of the failed scrapes due to the exceeded response size 2021-09-23 14:48:16 +03:00
config_test.go lib/promscrape: make fmt 2021-09-12 13:35:21 +03:00
config.go lib/promscrape: return error if sample_limit or series_limit options are set when stream parsing mode is enabled 2021-10-14 12:30:54 +03:00
scraper.go lib/promscrape: make errcheck happy (#1703) 2021-10-13 15:11:45 +03:00
scrapework_test.go lib/promscrape: generate scrape_timeout_seconds metric per each scrape target in the same way as Prometheus 2.30 does 2021-09-12 15:21:26 +03:00
scrapework_timing_test.go app/vmagent: follow-up after fe445f753b 2021-08-05 09:51:00 +03:00
scrapework.go lib/promscrape: store the full response in stream parsing mode in scrapeWork.lastScrape byte slice 2021-10-15 15:26:24 +03:00
statconn.go all: make go vet happy 2021-03-17 00:48:44 +02:00
targets_response.qtpl lib/promscrape: add ability to show the original labels for discovered targets at /targets page 2021-10-13 16:44:34 +03:00
targets_response.qtpl.go lib/promscrape: add ability to show the original labels for discovered targets at /targets page 2021-10-13 16:44:34 +03:00
targetstatus.go lib/promscrape: show jobs with empty scrape targets on /targets page 2021-06-18 10:54:12 +03:00