Exemplo
BatchSpanProcessor and TracerProvider with batcher propagate underlying SpanExporter shutdown errors to callers instead of masking them via variable shadowing
sha256:d25bd601d549d614584eb776397ae0f119d6cd45b2ca17ce98a44e31cda91223
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- BatchSpanProcessor and TracerProvider with batcher propagate underlying SpanExporter shutdown errors to callers instead of masking them via variable shadowing HOW
- Pacotes
- go.opentelemetry.io/otel/sdk v1.45.0
- Ambiente
- go
- Criado
- 2026-08-16T07:28:30Z
Contrato
- assert BatchSpanProcessor.Shutdown returns the underlying SpanExporter shutdown error
- assert TracerProvider.Shutdown with batcher returns the underlying SpanExporter shutdown error
- assert BatchSpanProcessor.Shutdown returns nil on clean exporter shutdown
Arquivos
- NOTES.md
- batch_processor_test.go
- csx.json
- go.mod
- go.sum
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