-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] metrics with utf8 strings in path are not displayed #2641
Comments
When I change metric path in graphite web - using edit to change it to 'local.random.g?wno' - the data are shown |
Hi @mcikosos , IIRC UTF-8 characters can work in tags names/values (because tags are hashed internally), but UTF-8 support in metrics itself is depending on your OS / filesystem setup. I mean, I'm not saying that's not a bug - and if someone can solve it in generic and backward compatible way - I would be very glad. |
I found a few issues with unicode chars in Graphite-web, carbon on the other hand does work. This fixes two piotr1212@17e23ef but I never got around of making a PR. I think there was also one in the carbonlink code. And last, the images rendering code cannot handle unicode (metricnames in the legenda). The last one is the hardest to fix but probably the least important one. There is probably some more, potential places to look are |
Well I thought it is a BUG because carbon/whisper etc. works ok but if it was not supported from the start I can change it to "feature" ;) |
@piotr1212 can You make a PR? So some day it will be merged to master. |
Sorry, I don't expect to anytime soon. |
Oh, cool, I didn't know that, @piotr1212 ! |
@mcikosos : Fix is merged in master. |
I will check this ASAP |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Issue still exists |
Hello,
I’m afraid we will need exact metrics names to check, because simple tests
(built in and test run) shows that setting works.
…On Wed, 30 Dec 2020 at 17:20, mcikosos ***@***.***> wrote:
Issue still exists
I have graphiteapp/graphite-statsd:master
GRAPHITE_UTF8_METRICS=true in env
and still no data for metrics with utf8 chars :(
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2641 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJLTVTEF32K2B3AVR4J65TSXNHL7ANCNFSM4SVG5YOQ>
.
|
example which does not work: home.Piętro.Suszarnia.Pralka.energy |
I tested with test.random.pokój and no data is shown for that exact metric |
@mcikosos : Yes, you're right. Looks like some part still missing. I see data coming but rendering part is not working, not in curl nor in browser. :(
but
Encoding URL not helping either (I think curl and browser dong that anyway):
|
Describe the bug
metrics with utf8 strings in path are not displayed in graphs
To Reproduce
just send any metric with national chars in it
ex.
echo "local.random.gówno 5
date +%s
" | nc ${SERVER} ${PORT}Expected behavior
metrics show in graphs
Screenshots
no point
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: