sentry-java
sentry-java copied to clipboard
Change default behavior to stop tracing 404s unless explicitly enabled
- Default excludes 404s
- Breaking change noted in release notes + migration path documented
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.