You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's create Sentry errors from these exception events and send them to Sentry! We can link them to the parent transaction via trace context.
Spanspan = myTracer.startSpan(/*...*/);
try {
// Code that does the actual work which the Span represents
} catch (Throwablee) {
span.recordException(e, Attributes.of("exception.escaped", true));
throwe;
} finally {
span.end();
}
The advantage of doing this is that we'll get this working out of the box for users who already have errors instrumented with OpenTelemetry.
The content you are editing has changed. Please copy your edits and refresh the page.
In OpenTelemetry, spans can have exception events.
Let's create Sentry errors from these exception events and send them to Sentry! We can link them to the parent transaction via trace context.
The advantage of doing this is that we'll get this working out of the box for users who already have errors instrumented with OpenTelemetry.
OpenTelemetry Exceptions
The text was updated successfully, but these errors were encountered: