mirror of
https://github.com/prometheus/prometheus.git
synced 2025-10-08 06:01:02 +02:00
We were not properly maintaining the scrape cache when the same metric was exposed with a different string representation. This overall reduces the scraping cache's complexity, which fixes the issue and saves about 10% of memory in a scraping-only Prometheus instance.