mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 06:29:42 -08:00
c691895a0f
With this change the scraping caches series references and only allocates label sets if it has to retrieve a new reference. pkg/textparse is used to do the conditional parsing and reduce allocations from 900B/sample to 0 in the general case. |
||
---|---|---|
.. | ||
testdata | ||
helpers_test.go | ||
scrape.go | ||
scrape_test.go | ||
target.go | ||
target_test.go | ||
targetmanager.go | ||
targetmanager_test.go |