-
Notifications
You must be signed in to change notification settings - Fork 306
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
Upgrading to DD 0.45.0 breaks StatsD metrics #764
Comments
@joshhoegen Can you provide some more info on your problem? It's not clear what the problem area may be from the description.
|
@sgnn7, I've updated the issue above.
|
@joshhoegen Thanks for the info! I have a few followups:
You might be able to find it in the infrastructure list but it depends on your setup topology. The easiest way to find it is in the first log line that the agent emits (and stores in
I'm not quite clear if you meant that it was ok or not. From this matrix below, what was tested and what worked / didn't work (I filled in the things that I think you mentioned)?
Some other long-shot questions:
|
@joshhoegen / @mark-a-dev I did a simple test using the same invocation code (without Poetry) with |
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:
|
we've hit the same issue with a standalone
|
We've already run into the same issue, i.e., statsD metrics not being reported in Datadog, using Python 3.9 with |
@john-bodley @sgnn7 @aexvir @joshhoegen 0.45.0 added container IDs to metrics -- look into whatever you're using to consume your metrics as it may not support that new datagram format: https://docs.datadoghq.com/developers/dogstatsd/datagram_shell/?tab=metrics#dogstatsd-protocol-v12 Added in #720 |
we hit the same thing -- it's the new container metrics. there's no easy way to turn it off in code only an environment variable can you add a similar opt-out to the telemetry opt-out? for instance I can do: statsd.disable_telemetry() it would be nice to also be able to statsd.disable_origin_detection() especially because it silently breaks metric delivery when enabled |
Is this fixed? I noticed a similar issue between running inside of a local docker container vs local python shell. |
Describe the bug
After upgrading to 0.45.0 with Python 3.11, our metrics stopped reporting. It seems only the combo of Python 3.10 and datadogpy 0.44.0 fixed our issue. This repo's build from 3 weeks ago also has some failures (I'm not sure if this is related: https://dev.azure.com/datadoghq/datadogpy/_build/results?buildId=131198&view=logs&j=abc39910-4c32-5be0-0b39-6d3f303c7218&t=837b8d2b-2a00-5222-b449-dfcd3b59faed&l=825)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Stats are sent to DD and visible in dasboard
Screenshots
If applicable, add screenshots to help explain your problem.
Environment and Versions (please complete the following information):
pyproject.toml (poetry)
Docker image
Usage
Additional context
python:3.11-slim-buster
Docker instance on ECSThe text was updated successfully, but these errors were encountered: