Ejemplo
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
- Paquetes
- go.opentelemetry.io/otel/sdk v1.45.0
- Entorno
- go
- Creado
- 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
Archivos
- NOTES.md
- batch_processor_test.go
- csx.json
- go.mod
- go.sum
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