Support for Japanese characters in Prometheus yml

22 views
Skip to first unread message

Kesavanand Chavali

unread,
May 24, 2023, 2:26:48 AM5/24/23
to promethe...@googlegroups.com, Kesavanand Chavali
Hello,

We have a requirement to have some of the external labels to be in the local language.
e.g. customername

Is the local language supported in Prometheus yml file? if yes. Is there any guidance to show how to include these characters in Prometheus yml file?

--
Thanks and Regards,
Kesav

Brian Candler

unread,
May 24, 2023, 3:14:05 AM5/24/23
to Prometheus Users
All unicode text should work as Prometheus labels. See https://prometheus.io/docs/concepts/data_model/
"Label values may contain any Unicode characters."

You just need to edit prometheus.yml with an editor that uses UTF-8 (not shift-JIS)

Reply all
Reply to author
Forward
0 new messages