VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 2351468bc4
lib/promscrape: read response body into memory in stream parsing mode before parsing it
This reduces scrape duration for targets returning big responses.

The response body was already read into memory in stream parsing mode before this change,
so this commit shouldn't increase memory usage.
2022-09-14 13:29:39 +03:00
..
discovery lib/promscrape/discovery/kubernetes: add more context on WatchEvent parse error 2022-09-13 19:37:40 +03:00
discoveryutils lib/promscrape/discoveryutils: always store just allocated string to sanitized label names cache 2022-08-27 00:29:59 +03:00
testdata lib/promscrape: fix errors in test config 2022-02-08 20:10:28 +02:00
client.go all: subsitute ioutil.ReadAll with io.ReadAll 2022-08-22 00:16:04 +03:00
config_test.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:18:19 +03:00
config.go Support "HTTP" and "HTTPS" schemes (#3019) 2022-08-27 02:23:52 +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:48 +03:00
scrapework_test.go lib/promscrape: automatically generate additional per-target labels for targets with non-zero series limit 2022-08-17 13:22:02 +03:00
scrapework_timing_test.go lib/promscrape: follow-up after 2c553d5a2f 2022-08-08 14:49:16 +03:00
scrapework.go lib/promscrape: read response body into memory in stream parsing mode before parsing it 2022-09-14 13:29:39 +03:00
statconn.go lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:24:22 +03:00
targetstatus.go all: follow-up after 8edb390e21 2022-06-07 01:05:53 +03:00
targetstatus.qtpl all: follow-up after 8edb390e21 2022-06-07 01:05:53 +03:00
targetstatus.qtpl.go all: follow-up after 8edb390e21 2022-06-07 01:05:53 +03:00