prometheus/scrape
Julien Pivotto db8c550570
Revoke storing target and metadata cache in context. (#10590)
Storing the scrape cache and the target (which also contains that cache)
is apparently causing hige memory increase. I think me might not control
the lifespan of the context enough, therefore old objects keep living in
memory for longer than needed.

Let's unblock the release and look for an alternative so that downstream
consumers can get access to that data.

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-04-14 15:18:46 +02:00
..
testdata Re-generate test cert to fix test_windows test failures 2022-03-17 19:37:18 +01:00
helpers_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
manager.go discovery: Expose custom HTTP client options to discoverers (#10462) 2022-03-24 18:16:59 -04:00
manager_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
scrape.go Revoke storing target and metadata cache in context. (#10590) 2022-04-14 15:18:46 +02:00
scrape_test.go scrape: allow providing a custom Dialer for scraping (#10415) 2022-03-09 00:48:47 +01:00
target.go Remove check against cfg so interval/ timeout are always set (#10023) (#10031) 2021-12-16 16:46:14 +01:00
target_test.go Remove check against cfg so interval/ timeout are always set (#10023) (#10031) 2021-12-16 16:46:14 +01:00