Skip to content

[Sentry.OpenTelemetry] SentrySpanProcessor does not ignore Sentry requests #3028

@fastfend

Description

@fastfend

Package

Other

.NET Flavor

.NET Core

.NET Version

8.0.0

OS

Any (not platform specific)

SDK Version

3.41.3

Self-Hosted Sentry Version

No response

Steps to Reproduce

  1. Use latest OpenTelemetry (version 1.7.0)
  2. Use AddHttpClientInstrumentation from OpenTelemetry.Instrumentation.Http
  3. Use AddSentry in OTEL tracing and UseOpenTelemetry in Sentry

Expected Result

Sentry should not include requests from HttpClient instrumentation to itself

Actual Result

HUGE amount of transactions (managed to obliterate my selfhosted sentry instance)
From my debug its because OTEL library no longer use http.url. They moved to url.full

Releated PRs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions