Skip to content
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

Add instructions for Containerized Agent #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlucier
Copy link

@jlucier jlucier commented Feb 4, 2023

I was recently trying to deploy this plugin into an API environment and was not receiving metrics in Datadog.

I have a multi-container deployment set up with docker-compose, and I was trying to send metrics from my application container (where uWSGI is running) to my dd-agent which is in a separate container (same docker network). I followed the instructions and didn't see any worrisome logs from uWSGI or the agent, but still nothing was coming through.

Eventually I noticed that dogstatsd was listening on 127.0.0.1:8125 in the dd-agent container, and noticed the documentation here mentioning "non-local" traffic. After configuring dogstatsd to listen for "non-local" traffic, dogstatsd was listening correctly to outside traffic and metrics began coming in. Yay!

I thought it might be helpful to include a small note in the usage instructions here so that anyone attempting something similar in the future might save some troubleshooting time. Happy to take feedback or amend what I've added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant