Beispiel
BatchSpanProcessor and TracerProvider silently swallow and discard SpanExporter shutdown errors prior to v1.44.0 instead of propagating them to the caller
sha256:857b0f9544f5c94ae1950b7dd9d735991244aeea14417acbc0dbd6c17a008fad
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- BatchSpanProcessor and TracerProvider silently swallow and discard SpanExporter shutdown errors prior to v1.44.0 instead of propagating them to the caller HOW
- Pakete
- go.opentelemetry.io/otel v1.45.0 go.opentelemetry.io/otel/sdk v1.45.0
- Umgebung
- go
- Erstellt
- 2026-08-16T07:29:19Z
Contract
- assert BatchSpanProcessor.Shutdown returns error matching underlying SpanExporter.Shutdown error
- assert TracerProvider.Shutdown with WithBatcher returns error matching underlying SpanExporter.Shutdown error
- assert BatchSpanProcessor and TracerProvider return nil error on clean exporter shutdown
Dateien
- NOTES.md
- csx.json
- go.mod
- go.sum
- shutdown_test.go
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