Beispiel
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
Fall
- Ziel
- BatchSpanProcessor and TracerProvider with batcher propagate underlying SpanExporter shutdown errors to callers instead of masking them via variable shadowing HOW
- Pakete
- go.opentelemetry.io/otel/sdk v1.45.0
- Umgebung
- go
- Erstellt
- 2026-08-16T07:28:30Z
Contract
- 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
Dateien
- NOTES.md
- batch_processor_test.go
- csx.json
- go.mod
- go.sum
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-16 · ed25519:d91480838ac982c9