Skip to content

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

Merged
ogaca-dd merged 1 commit intomasterfrom
olivierg/fix-event-text-title-size
Jul 8, 2021
Merged

For event, use the size of the title and the text in UTF8.#165
ogaca-dd merged 1 commit intomasterfrom
olivierg/fix-event-text-title-size

Conversation

@ogaca-dd
Copy link
Copy Markdown
Contributor

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.

@ogaca-dd ogaca-dd merged commit 771e876 into master Jul 8, 2021
@ogaca-dd ogaca-dd deleted the olivierg/fix-event-text-title-size branch July 8, 2021 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants