-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Wavefront output replaces / with - in metrics #4240
Comments
@puckpuck Can you take a look at this one? |
@dimas can I ask where the source of your metrics with slashes in the metric name is coming from? Your ask is certainly reasonable to fix, however my fear is existing people that may have metrics getting the slash replaced with a dash, will now see it as a slash thus breaking existing queries. |
@puckpuck , ours are Hystrix metrics. They look like We used to send them directly to Wavefront and they work ok but if we change apps to send data via locally running telegraf, these metrics break. It is not the end of the world but will require updating lots of existing dashboards, alerts etc. Maybe a new boolean configuration option that allows slashes ? Cheers |
I'm hesitant to add another config property to the output plugin. I just want to run this internally first to make certain we aren't going to break other stuff, and will get a PR submitted shortly to fix. |
@puckpuck hi, any update on this ? |
We are going to add a new option to the Wavefront output plugin. |
Relevant telegraf.conf:
System info:
Ubuntu 14.04, telegrad 1.6.2
Steps to reproduce:
then
nc -k -v -l 7777
in one terminal andecho 'measurement.xxxxx/yyyyy.path value=100 1528225557' | nc -v localhost 8089
in another, makenc
receive:So the slash was not lost
2. Now change output to
and then use the same set of commands to generate metric and receive it.
Expected behavior:
The Wavefront docs https://docs.wavefront.com/wavefront_data_format.html says that
So I would expect slash to be kept. Probably quoted.
Actual behavior:
nc
receives:The slash was replaced with dash
Additional info:
To be fair,
graphite
output does the same thing which may also be wrong. But I did not read Graphite protocol docs so I cannot be 100% sure if slash is allowed or not.The text was updated successfully, but these errors were encountered: