DataDog / dogstatsd-csharp-client

A DogStatsD client for C#/.NET
datadoghq.com
Other
94 stars 62 forks source link

For event, use the size of the title and the text in UTF8. #165

Closed ogaca-dd closed 3 years ago

ogaca-dd commented 3 years ago

When a DogStatsD client sends an event, the message looks like "_e{5,4}:title|text|p:low". _e{5,4} is the header of the event.

5 is the size of the title (title in this example) and 4 is the size of the text (text in this example).

DogStatsD clients must send the size in bytes for the text and for the title and not the size in char. It is an issue when the text or the title contains non ASCII chars.