prometheus/model
Lukasz Mierzwa cf9d3a0db5 Add labels.MapLabels() for setting mapped labels
This makes building labels faster by having a fast lookup for string->index path via a map.
Since we now need to populate both the slice that maps index->string and a map that gives us string->index.
For that we add labels.MapLabels() function which handles updating the static mapping.

Signed-off-by: Lukasz Mierzwa <l.mierzwa@gmail.com>
2025-02-21 10:22:26 +00:00
..
exemplar update links to openmetrics to reference the v1.0.0 release 2024-12-13 21:32:27 +00:00
histogram fix TestCuttingNewHeadChunks/really_large_histograms on 32-bit 2024-12-16 10:45:01 -05:00
labels Add labels.MapLabels() for setting mapped labels 2025-02-21 10:22:26 +00:00
metadata Fix: metadata API using wrong field names (#13633) 2024-02-26 09:53:39 +00:00
relabel Addressed comments. 2025-01-27 09:54:13 +00:00
rulefmt rulefmt: support YAML aliases for Alert/Record/Expr (#14957) 2025-02-13 20:48:33 +11:00
textparse textparse: Optimized protobuf parser with custom streaming unmarshal. (#15731) 2025-02-13 10:38:35 +00:00
timestamp Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00