VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 74c00a8762
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:15:29 +03:00
..
discovery lib/promscrape/discovery/kubernetes: add more context on WatchEvent parse error 2022-09-13 19:36:55 +03:00
discoveryutils lib/promscrape/discoveryutils: always store just allocated string to sanitized label names cache 2022-08-27 00:28:39 +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 Support "HTTP" and "HTTPS" schemes (#3019) 2022-08-27 02:22:37 +03:00
config_test.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.go lib/promscrape: read response body into memory in stream parsing mode before parsing it 2022-09-14 13:15:29 +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
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