prometheus/scrape
bwplotka 9385f31147 scrape: Fix metadata in WAL not working for histograms and summaries.
The was a bug (due to confusion?) on the local metadata cache that is cached
by metric family not the series metric name. The fix is to NOT use that local cache
at all (it's still needed for current metadata API implementation, added TODO
on how we can get rid of it).

I went ahead and also rename Metric field in metadata structs to MetricFamily to make
clear it's not always __name__.

Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-01-15 20:12:38 +00:00
..
testdata Include test CA text info (#14699) 2024-08-20 19:41:02 +02:00
clientprotobuf.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
helpers_test.go scrape: Fix metadata in WAL not working for histograms and summaries. 2025-01-15 20:12:38 +00:00
manager_test.go Scraping: stop storing discovered labels (#15261) 2024-12-21 13:33:08 +00:00
manager.go chore: Remove dead code 2024-11-04 13:00:22 -03:00
metrics.go Scraping: add metric for symbol table size 2024-07-05 10:16:22 +01:00
scrape_test.go scrape: Fix metadata in WAL not working for histograms and summaries. 2025-01-15 20:12:38 +00:00
scrape.go scrape: Fix metadata in WAL not working for histograms and summaries. 2025-01-15 20:12:38 +00:00
target_test.go Scraping: stop storing discovered labels (#15261) 2024-12-21 13:33:08 +00:00
target.go scrape: Fix metadata in WAL not working for histograms and summaries. 2025-01-15 20:12:38 +00:00