mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-16 01:56:41 +02:00
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.