Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Http.HttpRequestOut OpenTelemetry spans not finished if filtered #3197

Copy link
Copy link

Description

@jamescrosswell
Issue body actions

Problem

For background context see:

If OpenTelemetry is configured with filtering - e.g. as follows:

AddHttpClientInstrumentation(o => o.FilterHttpRequestMessage = _ => false)

... then our SentrySpanProcessor receives OnStart events for any outgoing requests from HttpClient but never receives a corresponding OnEnd event.

This leaves a bunch of SentrySpan instances accumulating in SpanProcessor._map, which never get cleaned up.

Investigation

Reactions are currently unavailable

Metadata

Metadata

Labels

BugSomething isn't workingSomething isn't working

Projects

Status
Done
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.