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

[status] track dogstatsd client errors #336

Merged
merged 3 commits into from
Oct 30, 2020
Merged

[status] track dogstatsd client errors #336

merged 3 commits into from
Oct 30, 2020

Conversation

truthbk
Copy link
Member

@truthbk truthbk commented Oct 30, 2020

The goal of this PR is to allow us to tap into potential errors happening in the java dogstatsd client that we might otherwise not have good visibility into. This isn't particularly rich, but at least it'll allow support, and us, to quickly identify potential issues on socket operations. This is particularly interesting in the case of UDS, where we could have drops happening at the socket level - this would result in gaps in our customers timeseries - but not be able to prove otherwise.

gh123man
gh123man previously approved these changes Oct 30, 2020
import lombok.extern.slf4j.Slf4j;
import org.datadog.jmxfetch.Instance;
import org.datadog.jmxfetch.JmxAttribute;

import java.util.concurrent.atomic.AtomicInteger;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: I don't this import is used in this context

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, bad cleanup from my end! :)

gh123man
gh123man previously approved these changes Oct 30, 2020
@truthbk truthbk merged commit 5ac28d4 into master Oct 30, 2020
@truthbk truthbk deleted the jaime/udserrors branch October 30, 2020 16:10
mcculls added a commit to DataDog/dd-trace-java that referenced this pull request Apr 19, 2021
(This is the shared client version of DataDog/jmxfetch#336)
mcculls added a commit to DataDog/dd-trace-java that referenced this pull request Apr 19, 2021
Support tracking of StatsD client errors

(This is the shared client version of DataDog/jmxfetch#336)
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.

2 participants