-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/datadog] Implement '/stats' endpoint #34790
[receiver/datadog] Implement '/stats' endpoint #34790
Conversation
@jpkrohling, it looks like I'm having the same issues here. I have tried your |
I can run those for you, but can you try running |
Thanks for the response. Just ran |
Sorry about the merge conflict. Would you be able to address it? Once it's done, I'll merge on green. |
No problem! Thanks for the help :) |
**Description:** <Describe what has changed.> Following up on open-telemetry#34772, this PR implements Datadog Agent's `/stats` endpoint, which is used for sending [client stats](https://github.com/DataDog/dd-trace-java/blob/master/communication/src/main/java/datadog/communication/ddagent/DDAgentFeaturesDiscovery.java#L40) of the [local sampled spans](https://github.com/DataDog/dd-trace-java/blob/master/dd-trace-core/src/main/java/datadog/trace/core/CoreTracer.java#L993-L1008) to calculate the [trace metrics](https://docs.datadoghq.com/tracing/metrics/metrics_namespace/). This PR also does a minor refactor in the usage of Datadog's common headers, moving from literal strings to centralized constants. **Link to tracking Issue:** <Issue number if applicable> **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
Description:
Following up on #34772, this PR implements Datadog Agent's
/stats
endpoint, which is used for sending client stats of the local sampled spans to calculate the trace metrics.This PR also does a minor refactor in the usage of Datadog's common headers, moving from literal strings to centralized constants.
Link to tracking Issue:
Testing:
Documentation: