We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Seen in datadogpy 0.9.0 and 0.11.0 using Python 2.7.6 and 2.7.11.
It doesn't seem possible to use unicode characters in tags. Running the following causes an UnicodeDecodeError to be raised from the use of str here:
UnicodeDecodeError
str
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from datadog import statsd statsd.increment('tagged_counter', 1, tags=['person:Jóhn', 'foo:bar'])
If the tags are encoded before they are sent to datadogpy, the error is raised in 0.11.0 a couple lines before when the payload is being constructed.
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from datadog import statsd statsd.increment('tagged_counter', 1, tags=['person:Jóhn'.encode('utf-8'), 'foo:bar'])
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue @cshoe.
I am adding it to our 0.12.0 milestone, so it gets fixed in the next release.
0.12.0
Sorry, something went wrong.
[dogstatsd] support unicode tags 🔣
e2ae0ff
Using unicode with DogStatsD tags causes `UnicodeDecodeError` exceptions. Do not raise on unicode tags. Fix #132.
ccbd94d
yannmh
No branches or pull requests
Seen in datadogpy 0.9.0 and 0.11.0 using Python 2.7.6 and 2.7.11.
It doesn't seem possible to use unicode characters in tags. Running the following causes an
UnicodeDecodeError
to be raised from the use ofstr
here:If the tags are encoded before they are sent to datadogpy, the error is raised in 0.11.0 a couple lines before when the payload is being constructed.
The text was updated successfully, but these errors were encountered: