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

Many fails when sending datadog metrics when using image datadog/docker-dd-agent:latest-alpine #162

Open
dror-ventura opened this issue Jan 29, 2017 · 3 comments

Comments

@dror-ventura
Copy link

dror-ventura commented Jan 29, 2017

{"message":"getaddrinfo EAI_AGAIN","name":"Error","stack":"Error: getaddrinfo EAI_AGAIN
at Object.exports._errnoException (util.js:1026:11)
at errnoException (dns.js:33:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)","code":"EAI_AGAIN"},"msg":"Failed sending data to datadog agent","time":"2017-01-29T12:26:38.375Z","v":0}

NOTE: when using image datadog/docker-dd-agent:latest no errors such as the error above

using node.js with library node-statsd

@dror-ventura dror-ventura changed the title **Many fails when sending datadog metrics when using image datadog/docker-dd-agent:latest-alpine Many fails when sending datadog metrics when using image datadog/docker-dd-agent:latest-alpine Feb 2, 2017
@hkaj
Copy link
Member

hkaj commented Feb 28, 2017

Hi @dror-ventura
thanks for the feedback. Can you give us more details about your setup? Maybe how you run the agent container, and a snippet that gives this failure message.

Thanks

@dror-ventura
Copy link
Author

dror-ventura commented Feb 28, 2017

from my docker-compose:

dd-agent:
    image: datadog/docker-dd-agent:latest-alpine

    environment:
      - API_KEY=<MY_API_KEY>

    volumes:
       - /var/run/docker.sock:/var/run/docker.sock
       - /proc/mounts:/host/proc/mounts:ro
       - /sys/fs/cgroup:/host/sys/fs/cgroup:ro

I tried it in my staging environment for some time and unfortunately I don't have a specific call stack of my application when the errors occur,
I can say that I'm using mostly increment metrics, and error events while using node-statsd library.

i'm running datadog/docker-dd-agent:latest on production along with the same code and configuration and i haven't received such errors

@hkaj
Copy link
Member

hkaj commented Mar 1, 2017

Thanks, and how does the code calling node-statsd look like? I'm trying to understand how your code tries to reach the agent.

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

No branches or pull requests

2 participants