prometheus/web/ui/mantine-ui/src
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 Add notifications to the web UI when configuration reload fails. 2024-09-27 15:28:38 +02:00
codemirror Some improvements to completion info tooltip for new CM version 2024-04-03 14:50:29 +02:00
components Support UTF-8 metric names and labels in web UI 2024-10-29 20:22:52 +01:00
fonts Add codeicon font for autocompletion icons 2024-03-14 12:00:40 +01:00
images
lib Support UTF-8 metric names and labels in web UI 2024-10-29 20:22:52 +01:00
pages Support UTF-8 metric names and labels in web UI 2024-10-29 20:22:52 +01:00
promql Support UTF-8 metric names and labels in web UI 2024-10-29 20:22:52 +01:00
state Calculate path prefix directly in initial settings Redux value (#14981) 2024-09-30 14:22:40 +02:00
types feat (ui): Add Native Histogram rendering to new UI (#14431) 2024-07-09 22:51:37 +02:00
App.module.css Don't wrap Prometheus logo + brand line 2024-09-02 13:42:14 +02:00
App.tsx Calculate path prefix directly in initial settings Redux value (#14981) 2024-09-30 14:22:40 +02:00
Badge.module.css Add filtering to SD page and improve state processing 2024-08-28 15:35:32 +02:00
main.tsx Add PromQL logic code and labels explorer from PromLens, add testing deps 2024-09-02 13:45:36 +02:00
mantine-overrides.css Add general Mantine overrides CSS file 2024-09-13 14:40:29 +02:00
Panel.module.css Nicer panel health colors for both light and dark modes 2024-08-02 19:47:01 +02:00
promql.css Minor cleanups 2024-09-04 17:44:54 +02:00
setupTests.ts Add PromQL logic code and labels explorer from PromLens, add testing deps 2024-09-02 13:45:36 +02:00
styles.ts Factor out common icon and card styles 2024-09-13 14:44:04 +02:00
vite-env.d.ts