prometheus/web
Julius Volz c861b31b72 Support UTF-8 metric names and labels in web UI
Fixes most of https://github.com/prometheus/prometheus/issues/15202

This should address all areas of the UI except for the autocompletion in the
codemirror-promql text editor. The strategy here is that any time we print or
internally serialize (like for the PromLens tree view) either a metric name or
a label name as part of a selector or in other relevant parts of PromQL, we
check whether it contains characters beyond what was previously supported, and
if so, quote and escape it. In the case of metric names, we also have to move
them from the beginning of the selector into the curly braces.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-10-29 20:22:52 +01:00
..
api/v1 api: Add rule group pagination to list rules api (#14017) 2024-10-22 00:04:40 +01:00
ui Support UTF-8 metric names and labels in web UI 2024-10-29 20:22:52 +01:00
federate.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
federate_test.go
web.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
web_test.go mantine UI: Distinguish between Not Ready and Stopping 2024-09-17 16:02:16 +02:00