-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dog_stats_api doesn't encode pipe char #19
Comments
@DataDog/agent-core should we escape or remove Is there any documentation which specifies valid tags? I have only found https://docs.datadoghq.com/developers/metrics/dogstatsd_metrics_submission/?tab=python#metric-tagging. see also #517 |
@jirikuncar https://docs.datadoghq.com/tagging/#defining-tags defines valid characters for tags. AFAIK statsd/dogstatsd do not specify how to escape characters that conflict with the protocol or are invalid. It probably make sense to either strip them or replace them by a valid character like In any case let's make sure we align with other clients if they have logic to escape tags / metric names. |
@arbll thank you for the link. It doesn't say how the tags should be encoded in case of |
@jirikuncar |
@arbll so basically a tag has to match Playground: https://regex101.com/r/yJ8qva/1/tests |
Thanks for your contribution! This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community. If you would like this issue to remain open:
|
closed in #517 The library will now sanitize tags before sending them |
Issue by clofresh
Friday Feb 21, 2014 at 23:23 GMT
Originally opened as https://github.com/DataDog/dogapi/issues/81
|
is used by the statsd protocol to delimit the fields, so if you use it in a tag, you'll lose whatever's after the pipeThe text was updated successfully, but these errors were encountered: