getsentry / getsentry/sentry-python

Remove automatic propagator setup from OTLPIntegration

Abierto
#6,732 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Breaking change Bug Next Major OpenTelemetry Python Traces
Lenguaje dominante
Python
Estrellas
2.2k
Forks
669
Merge medio
1 d 1 h
PR fusionados (30 d)
213

Descripción

The OTLP integration currently sets up a Sentry propagator by default. This injects `sentry-trace` and `baggage` headers on outgoing requests alongside, or instead of, the standard W3C `traceparent` header.

Per the [OTLP integration spec](), the integration must not set up an automatic propagator. Cross-service trace propagation should be handled by `propagateTraceparent` or by user-configured OpenTelemetry propagators.

Docs:
Update docs to reflect the breaking change and manual propagator configuration path. The planned removal notice is already present in the OTLP docs.

Migration path:
Users who still need Sentry-specific headers in mixed Sentry-native and OpenTelemetry environments can configure propagators manually via the OpenTelemetry propagation API.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by locating OTLPIntegration, its tests, and the OTLP documentation, then inspect where the default Sentry propagator is configured. Verify that automatic propagator setup is removed, that propagation remains available through propagateTraceparent or user-configured OpenTelemetry propagators, and that the breaking-change migration path is documented.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
observability-sre
Tipo de issue
Refactorización
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
68/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.