-
Notifications
You must be signed in to change notification settings - Fork 52
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
Question - What are the requirements to mark a trace with error=yes? #771
Comments
Hi @anghelyi |
Hi! 1.txt - this trace is marked as error, it has a span with exception |
Thanks for raising the issue @anghelyi , I will take a look later today. In the meantime, can you share what you are using - trace analytics with data prepper ingestion agent/looking at jaeger traces, so I can get back to you with a more specific answer? |
Hi @derek-ho ! It's not an urgent issue, more like a question to understand how the system works/check if it works correctly on our side. Anyway, we are using open telemetry agents with data prepper. |
Hi! Any idea where can I find more information regarding this? |
Hi, so sorry for not getting back! The issue seems to have been buried. I'm looking into it now. Thanks for reaching out and being patient. So, I'm looking at the OTEL error handling docs, and it looks like correctly identifying errors is the responsibility of the library generating the trace. In particular I'm looking at the line:
I don't know much about the setup that's generating these traces, but I do see that in the trace that's not marked as an error, there are stack traces and 500s. That could be related, but no definitive proof. I also found this related issue from Spring Sleuth, which seems to show up in the stack traces. They mention something about Brave handling it (which I don't see in the stack trace). They also cite Brave's error handling rationale to explain that
Given this, I'm making a guess that checking for |
Closing as stale |
Hello! Sorry for my question but I was not able to find exact answer anywhere about what qualifies a trace to be marked as erroneous. I've been playing with OpenSearch+OpenTelemetry agents on and off for a few weeks and I find the traces' error rate very low compared to what I'm used to see in metrics. For me it seems that having an erroneous span in the trace does not automatically mark the trace with error. But sometimes it does, so that's why I'm confused. As I see, and correct me if I'm wrong, if one of the spans in the trace have an exception, that marks the trace with error. What are the other conditions? Is it configurable somewhere? Can you point me into the right direction where can I more information about it?
Thanks in advance!
The text was updated successfully, but these errors were encountered: