prometheus/cmd
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
..
prometheus Add labels.MapLabels() for setting mapped labels 2025-02-21 10:22:26 +00:00
promtool rulefmt: support YAML aliases for Alert/Record/Expr (#14957) 2025-02-13 20:48:33 +11:00