Skip to content

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

@dingsdax

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

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions