sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Change default behavior to stop tracing 404s unless explicitly enabled

Open dingsdax opened this issue 4 months ago • 2 comments

  • Default excludes 404s
  • Breaking change noted in release notes + migration path documented

dingsdax avatar Sep 17 '25 14:09 dingsdax

Assuming this is only relevant for server side (incoming) 404s, not outgoing requests resulting in 404. Edit: Both JS and Laravel have option names that suggest it's only used for incoming requests (dropSpansForIncomingRequestStatusCodes and SENTRY_TRACE_MISSING_ROUTES_ENABLED).

We should also make it work for our OpenTelemetry integration.

adinauer avatar Sep 18 '25 07:09 adinauer