Skip to content

Fix UTF-8 label names display in UI#710

Merged
beorn7 merged 2 commits intoprometheus:masterfrom
fedetorres93:ftorres/utf-8-ui
Dec 18, 2024
Merged

Fix UTF-8 label names display in UI#710
beorn7 merged 2 commits intoprometheus:masterfrom
fedetorres93:ftorres/utf-8-ui

Conversation

@fedetorres93
Copy link
Contributor

@fedetorres93 fedetorres93 commented Dec 12, 2024

As a follow-up to #689, this PR fixes how label names containing UTF-8 characters are displayed in the Pushgateway UI, double-quoting the label names and escaping double quotes within them.

image

Related to #623

Signed-off-by: Federico Torres <federico.torres@grafana.com>
Signed-off-by: Federico Torres <federico.torres@grafana.com>
@fedetorres93 fedetorres93 marked this pull request as ready for review December 12, 2024 18:14
@beorn7 beorn7 self-requested a review December 17, 2024 10:45
Copy link
Member

@beorn7 beorn7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you.

I'll take this as a reason to cut a new PGW release. Hopefully still this year. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants