Skip to content

Add option to exclude certain HTTP statuses from tracing in SDK #4739

Closed

Description

@dingsdax

If not already implemented or only partially implemented:
SDK should not trace incoming 404s by default to reduce noise. Add a config option to exclude specific HTTP statuses from tracing. This should mirror existing behavior in other SDKs (Laravel, JavaScript).

  • New config option (e.g. trace_ignore_status_codes: [404, ...])
  • Backwards compatible (default still traces 404s)
  • Tests + docs updated
  • Developer docs PR
  • Developer docs

Activity

  1. linear commented on Nov 15, 2025

    @linear
  2. added
    Feature
    .NET
    on Nov 15, 2025
  3. added a commit that references this issue on Mar 17, 2026
    5286daa
  4. added a commit that references this issue on Apr 15, 2026
    55c220b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NET4: highFeaturePerformance (New)Traces

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions