You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a follow-up to #1118, it appears that the %' symbol is getting mangled as %!_(MISSING) when sent to Graphite.
Outputting the same metrics to a file, and pushing that file to Graphite works properly.
Here's the directory listing of some relevant Whisper files, showing that Graphite is writing them with the mangled names.
$ ls -1 /opt/graphite/storage/whisper/test/win_cpu/_Total/Processor/
%!_(MISSING)Idle_Time.wsp
%!_(MISSING)Interrupt_Time.wsp
%!_(MISSING)Privileged_Time.wsp
%!_(MISSING)Processor_Time.wsp
%!_(MISSING)User_Time.wsp
Additional Information
If you take the file output from the client end, and nc it into Graphite, everything is peachy, so clearly Graphite does support the %, it's just that it's getting mangled somewhere in Telegraf.
As mentioned at the top of the Issue, this is related to #1118, and it should be possible to simply replace % with percent or some other value, but that's just a band-aid. The problem actually likely lies in the Graphite Output, and it's possible that this bug would bite any input that could generate field names with a % in it.
The text was updated successfully, but these errors were encountered:
Bug report
As a follow-up to #1118, it appears that the
%
' symbol is getting mangled as%!_(MISSING)
when sent to Graphite.Outputting the same metrics to a file, and pushing that file to Graphite works properly.
Relevant telegraf.conf:
System info:
This affects Windows Telegraf clients, versions 0.12.1, 0.13.0 and 1.0.0-beta1, sending to Graphite.
Steps to reproduce:
Expected behavior:
On the Telegraf end, this is what's in the output file:
And this gets sent over the wire to Graphite (viewed with
tcpdump
on the Graphite server)Actual behavior:
On the Telegraf end, this is what's in the output file:
But this ends up getting sent over the wire to Graphite (viewed with
tcpdump
on the Graphite server).Here's the directory listing of some relevant Whisper files, showing that Graphite is writing them with the mangled names.
Additional Information
If you take the file output from the client end, and
nc
it into Graphite, everything is peachy, so clearly Graphite does support the%
, it's just that it's getting mangled somewhere in Telegraf.As mentioned at the top of the Issue, this is related to #1118, and it should be possible to simply replace
%
withpercent
or some other value, but that's just a band-aid. The problem actually likely lies in the Graphite Output, and it's possible that this bug would bite any input that could generate field names with a%
in it.The text was updated successfully, but these errors were encountered: