VictoriaMetrics/lib/promscrape
Aliaksandr Valialkin 7f52aae20c lib/promscrape: an attempt to reduce memory usage when vmagent scrapes targets with varying number of metrics
Do not cache too big byte buffers and too big writeRequestCtx objects,
since it is cheaper to re-create them instead of wasting RAM for their caching.

This reverts 7f6f350ee1
2021-03-15 11:49:29 +02:00
..
discovery lib/promscrape/discovery/kubernetes: do not start object watcher until initial objects are loaded 2021-03-14 21:56:16 +02:00
discoveryutils lib/proxy: set missing ServerName in TLS config for proxy_url. 2021-03-09 19:01:14 +02:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:22 +03:00
client.go lib/promscrape: add ability to configure proxy options via proxy_tls_config, proxy_basic_auth, proxy_bearer_token and proxy_bearer_token_file 2021-03-12 03:36:11 +02:00
config_test.go lib/promscrape: add ability to configure proxy options via proxy_tls_config, proxy_basic_auth, proxy_bearer_token and proxy_bearer_token_file 2021-03-12 03:36:11 +02:00
config.go lib/promscrape: remove duplicate target word in error message 2021-03-14 21:56:16 +02:00
scraper.go lib/promscrape: retry service discovery in a few seconds if it starts returning 0 targets 2021-03-14 21:56:16 +02:00
scrapework_test.go lib/promscrape: apply sample_limit after metric relabeling is applied as Prometheus does 2021-03-09 15:52:41 +02:00
scrapework_timing_test.go lib/promscrape: remove ID field from ScrapeWork struct. Use a pointer to ScrapeWork as a key in targetStatusMap 2020-12-17 14:31:55 +02:00
scrapework.go lib/promscrape: an attempt to reduce memory usage when vmagent scrapes targets with varying number of metrics 2021-03-15 11:49:29 +02:00
statconn.go lib/proxy: set missing ServerName in TLS config for proxy_url. 2021-03-09 19:01:14 +02:00
targets_response.qtpl lib/promscrape: add bootstrap styles to /targets html page 2020-12-15 12:38:29 +02:00
targets_response.qtpl.go lib/promscrape: add bootstrap styles to /targets html page 2020-12-15 12:38:29 +02:00
targetstatus.go lib/promscrape: properly show scrape duration on /targets page 2021-01-11 21:15:50 +02:00