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

How to debug data not arriving to DD? #257

Open
GeoffreyPlitt opened this issue Aug 15, 2023 · 2 comments
Open

How to debug data not arriving to DD? #257

GeoffreyPlitt opened this issue Aug 15, 2023 · 2 comments

Comments

@GeoffreyPlitt
Copy link

I am sending successful hotshots "increment" calls-- the callback returns a null error, and positive number of bytes.

However, the data doesn't seem to get to DataDog.

In fact, when I run locally, without even having any StatsD server running, the calls still look successful.

Also, I turned on debug logging (using env var "DEBUG=* node test.js"...) and I don't see any logs generated by this library.

I don't understand. How does this library know if data gets to a stats server or not? How do I debug this? Is there a log somewhere that should show me datapoints enqueued and not delivered?

@jakub-g
Copy link

jakub-g commented Oct 26, 2023

@GeoffreyPlitt did you manage to figure things out?

I'm also debugging an issue where data silently stopped being sent, and I realized that by default, this lib uses UDP, which per definition is not reliable. But it can be configured to use a different transport.

const protocol = args.protocol || PROTOCOL.UDP;

@GeoffreyPlitt
Copy link
Author

I have not figured this out. DataDog sent me down a rabbit hole of running local agents and sending flares that didn't work out, and when I tried to switch to a fresh account (our main account was too noisy), they told me non-paid accounts aren't allowed to send custom metrics.

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