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
The library does not escape special characters in metric names and tags, which can result in malformed packets and unexpected tags being sent over the wire.
The following characters in tag keys and values should be replaced: |, ,, #, \n.
The following characters in metric names should be replaced: |, :, \n.
E.g. this:
c = new StatsD();
c.gauge("check:11|g#this:out", 42, 1, ["tag1,tag2,\ntag3"]);
The library does not escape special characters in metric names and tags, which can result in malformed packets and unexpected tags being sent over the wire.
The following characters in tag keys and values should be replaced:
|
,,
,#
,\n
.The following characters in metric names should be replaced:
|
,:
,\n
.E.g. this:
Results in:
Similar issues in other dogstatsd client implementations:
The text was updated successfully, but these errors were encountered: