-
Notifications
You must be signed in to change notification settings - Fork 275
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
Errors in traces merely showing error=true
#2402
Comments
error=true
it looks like the issue here is simply that opentelemetry-datadog does not know how to send logs to datadog: open-telemetry/opentelemetry-rust-contrib#6 It looks like sending the spans to the ddog agent using OTLP works though: the error events appear in the span's metadata |
I can confirm this behaviour when using otlp exporter sending to a datadog agent opentelemtry collector. All error spans just have the |
the opentelemetry events will appear under the That is not a great experience though, but for now we cannot do much about it, because the opentelemetry-datadog crate does not support Datadog's logs API (which is separated from the traces), and even Datadog's own agent pretends to understand OTLP but will not send the events as logs. |
Is there any workaround for this? |
Not yet unfortunately, I have not figured out how to correlate logs properly. A thing that could be tested: get logs from stdout, process them through vector to translate the otel trace ids to datadog trace ids, then send to datadog |
@BrynCooke, can you please check this is still an issue? |
This is still an issue, however we cannot do anything about this and it needs to be fixed upstream. |
It's possible that #3537 might fix this? Thoughts? |
I am not seeing my events in the span "info" section in Datadog. I used to see them, but don't anymore. Did something change? Or maybe it's a Datadog issue? Is anyone else having the same experience? EDIT: Coming back to answer my own question. This is the (relatively new) code that is preventing events from showing up in Datadog: router/apollo-router/src/plugins/telemetry/reload.rs Lines 178 to 181 in 6bb450b
|
this should be revisited now that #4486 is merged, it should be fixed |
In some cases, when errors are encountered all that appears in Datadog's Errors is an
error=true
property on the span.The text was updated successfully, but these errors were encountered: