Skip to content

Fix escaping for Telegraf StatsD #6513

@shakuzen

Description

@shakuzen

I tried to look into this but cannot find specific documentation on it. Here it says (emphasis added):

Since InfluxDB supports tags, our StatsD implementation does too! Adding tags to a StatsD metric is similar to how they appear in line-protocol.

It says similar but that leaves the possibility it isn't exactly the same. Going to the documentation on Influx's line-protocol there is this section, which describes needing to escape commas, spaces, and equals signs depending on the place.

Originally posted by @shakuzen in #6450 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedAn issue that a contributor can help us withregistry: statsdA StatsD Registry related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions