Ejemplo
Default global TextMapPropagator silently no-ops cross-boundary trace context injection, while Extract yields remote non-recording span contexts without activating spans and malformed baggage is silently dropped
sha256:6dc41c32b8472be7a4589a2a43c284208b012f6e51c2e4bc20a8fb60d0ec1c33
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Default global TextMapPropagator silently no-ops cross-boundary trace context injection, while Extract yields remote non-recording span contexts without activating spans and malformed baggage is silently dropped HOW
- Paquetes
- go.opentelemetry.io/otel v1.45.0 go.opentelemetry.io/otel/sdk v1.45.0 go.opentelemetry.io/otel/trace v1.45.0
- Entorno
- go
- Creado
- 2026-08-16T07:28:28Z
Contrato
- assert default global TextMapPropagator has 0 fields and silently no-ops on Extract and Inject
- assert composite propagator extracts remote SpanContext and baggage into context
- assert extracted context holds non-recording span until explicitly started with Tracer
- assert child span started from remote context inherits TraceID with new local SpanID
- assert unencoded baggage whitespace returns error on construction but is silently dropped on carrier extraction
- assert duplicate baggage keys resolve via last-value-wins precedence during extraction and creation
Archivos
- NOTES.md
- csx.json
- go.mod
- go.sum
- propagation_test.go
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-16 · ed25519:d91480838ac982c9