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
`SentrySpanProcessor could not find parent span with OTEL-spanId ${otelParentSpanId}. Dropping the span "${otelSpan.name}" with OTEL-spanID ${otelSpanId}...`,
91
91
);
@@ -129,6 +129,7 @@ export class SentrySpanProcessor implements OtelSpanProcessor {
129
129
if(!sentrySpan){
130
130
__DEBUG_BUILD__&&
131
131
logger.error(`SentrySpanProcessor could not find span with OTEL-spanId ${otelSpanId} to finish.`);
132
+
this._clearSpan(otelSpanId);
132
133
return;
133
134
}
134
135
@@ -312,6 +313,8 @@ function scheduleToClear(otelSpanId: string): void {
312
313
313
314
if(!span){
314
315
// hmm, something is fishy here, but abort...
316
+
// But to be sure we still try to delete the SCHEDULE_TO_CLEAR, to avoid leaks
0 commit comments