Skip to content

Allow disabling just tracing on HTTP client requests #4695

@jamescrosswell

Description

@jamescrosswell

Currently people want to instrument outbound HTTP requests using OTEL, they need to disable Sentry's SMTP message handler to avoid double traces. However this means they lose stuff like the failed request handling... which is a bit of a shame.

Ideally people could disable just the tracing stuff in the message handler... but keep the other stuff that they still want.

Originally posted by @jamescrosswell in getsentry/sentry-docs#15378 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net code

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions