getsentry / getsentry/sentry-java

Add option to exclude certain HTTP statuses from tracing in SDK

Abierto
#4,735 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Feature Java Performance (New) Traces
Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
478
Merge medio
2 d 23 h
PR fusionados (30 d)
67

Descripción

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](https://github.com/getsentry/sentry-laravel/blob/master/config/sentry.php#L121-L122), [JavaScript](https://github.com/getsentry/sentry-javascript/pull/16205)).

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.