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
metrics tag missing from datadog exporter v3 #791
Comments
fyi, it appears that when the user tags |
pr #792 |
Thanks for bringing it up. I think maybe we can just drop the span when exporting instead of encode it and send out. Have you tested it against a datadog endpoint? I lost my access to datadog a while ago so I can't test it myself. |
We need to export even in cases where spans are not sampled because the agent needs to be aware of metrics to properly calculate request/error statistics on datadog's end. The agent will then perform sampling on its end anyway afaiu. |
Actually not sure if i'm understanding you, what do you mean by "drop the span when exporting"? |
For unsampled spans, we don't have to pass it to the span exporter as per the spec.
|
Yet judging from everything I've looked at, datadog's agent requires receiving I think this means we'll need to force every span to be sent to datadog and make sure that Does this make sense? |
Yeah that make sense. Let me take a deep look on the datadog document but generally I think your argument is valid |
Have you had time to take a deep look yet? We are hoping this will resolve the described issue with our telemetry and would like to get it in. |
Sorry I have been traveling this week so cannot spend much time. I will try to get a review for the PR this weekend |
looks like we can close this out now, how often do new versions come out so we may upgrade? |
We are planning to release 0.18 on #779. I'd say probably some time next month? |
Looking at dd-trace we see that
"sampling.priority"
is added as a tag implicitly https://github.com/DataDog/dd-trace-js/blob/3419a4c09584a3109952b7c7da7d84924c36b866/packages/dd-trace/src/format.js#L98Given that
"sampling.priority"
is represented by a number it should be exported as part of themetrics
part of the span data as shown here https://github.com/DataDog/dd-trace-js/blob/3419a4c09584a3109952b7c7da7d84924c36b866/packages/dd-trace/src/format.js#L146However, looking at the datadog exporter v3, there does not appear to be any mention of forwarding
"sampling.priority"
nor mention ofmetrics
https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-datadog/src/exporter/model/v03.rsIs this inserted elsewhere? If not what would be required to add it?
The text was updated successfully, but these errors were encountered: