Exemplo
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
- Pacotes
- go.opentelemetry.io/otel v1.45.0 go.opentelemetry.io/otel/sdk v1.45.0 go.opentelemetry.io/otel/trace v1.45.0
- Ambiente
- go
- Criado
- 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
Arquivos
- NOTES.md
- csx.json
- go.mod
- go.sum
- propagation_test.go
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-16 · ed25519:d91480838ac982c9