Skip to content

AGTMETRICS-599 split tags containing commas - #342

Merged
vickenty merged 1 commit into
masterfrom
vickenty/fts
Sep 30, 2026
Merged

vickenty merged 1 commit into
masterfrom
vickenty/fts

Conversation

@vickenty

Copy link
Copy Markdown
Contributor

With dogstatsd, it was possible to pass multiple tags as a single, comma-separated string. This happened to work by accident with dogstatsd because such tags are simply inserted into the on the-wire payload and later split into separate tags by the agent. Dogstatsd http preserves tags boundaries, so such strings are treated as a single tag, and then commas are stripped when the intake normalizes the tag.

This patch adds tags splitting to avoid breaking clients relying on this behavior. Since scanning tags for commas adds overhead, we provide an opt-out.

With dogstatsd, it was possible to pass multiple tags as a single,
comma-separated string. This happened to work by accident with
dogstatsd because such tags are simply inserted into the on the-wire
payload and later split into separate tags by the agent. Dogstatsd
http preserves tags boundaries, so such strings are treated as a
single tag, and then commas are stripped when the intake normalizes
the tag.

This patch adds tags splitting to avoid breaking clients relying on
this behavior. Since scanning tags for commas adds overhead, we
provide an opt-out.
@vickenty
vickenty marked this pull request as ready for review September 30, 2026 13:00
@vickenty
vickenty requested a review from a team as a code owner September 30, 2026 13:00
@vickenty
vickenty merged commit 02ad299 into master Sep 30, 2026
23 checks passed
@vickenty
vickenty deleted the vickenty/fts branch September 30, 2026 14:52
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