Sounds like you may have some data that's encoded in a pre-UTF-8 format like https://en.wikipedia.org/wiki/Windows-1257 or https://en.wikipedia.org/wiki/ISO/IEC_8859.
You'll have a character encoding converter in your exporter in order to ingest the data. On Thu, Mar 25, 2021 at 11:32 AM John Dexter <[email protected]> wrote: > I understand that metric and label *names* are standard ASCII but *values* > support > Unicode, at least according to docs. > I am working on a Swedish-language system and just realised several of my > targets are reporting this error, however their endpoints work just fine. > > I have a metric with: > > obfuscated_metric_name{location="Törn"} 0.00000000000000000 > > message_bytes_total{direction="sent",subsystem="ÖTPP"} 0.00000000000000000 > > I copy-pasted this from the endpoint apart from hiding the metric name for > privacy reasons so what is wrong? Our code is quite old C++ so quite how > these characters are handled is not obvious to me but we haven't had this > issue before (we use these strings all over the place) and when I paste > this text into a UTF8 validity checked, it reports no problems. > Does Prometheus have any configuration I can tweak otherwise I'm a bit > stuck! > > Thanks for any help. > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/CAGJRanhVcN%3DgsyF_QDPckNopVpUm1_4NY6cDPbxdjjKw4ZFGpA%40mail.gmail.com > <https://groups.google.com/d/msgid/prometheus-users/CAGJRanhVcN%3DgsyF_QDPckNopVpUm1_4NY6cDPbxdjjKw4ZFGpA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmrQ1_%2B5ooo%2BdJg88bv9ibFpKVSY%3DJGHMKiz_fmC0P%3DndA%40mail.gmail.com.

