-
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
Issues tracing on Ubuntu #3683
Comments
Tested it some more today and this is clearly not a dd-trace issue. I ran this on a brand new VPS and it works, so I think something got misconfigured on the original host. |
@dreamingkills Did you find out by any chance what was the issue? Running into the same problem but on Amazon Linux. Running the |
@torte Unfortunately I never figured out exactly what was wrong, but in my case I had mistakenly installed the agent on the host machine before I started using the container so I assume having two agents around somehow confused the tracer. Re-doing everything on a new host sans the non-container agent resolved the issue. |
I just ran into this issue. The problem for me was that I was passing around the dogstatsd methods, but didn't bind them to the dogstatsd instance. This fixes it: const increment = tracer.dogstatsd.increment.bind(tracer.dogstatsd); |
Expected behaviour
I'm attempting to use dd-trace in a dockerized Node application with the
datadog/agent
image together as part of a compose.Actual behaviour
The compose works on my development machine (Windows), but when I try to run it on my Ubuntu server it seems to break and throw this error:
In the
datadog/agent
container's debug logs I also noticed a lot of this:I'm not sure if it's related or not but hopefully it can help figure out the problem because I'm kind of stuck lol.
I can provide further debug logs if others can't reproduce it.
Steps to reproduce
I've made a minimal repository that demonstrates the issue: https://github.com/dreamingkills/dd-trace-reproduction
Just run
docker compose up --build
.Environment
See linked repo
The text was updated successfully, but these errors were encountered: