Пример
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
Кейс
- Цель
- BatchSpanProcessor and TracerProvider with batcher propagate underlying SpanExporter shutdown errors to callers instead of masking them via variable shadowing HOW
- Пакеты
- go.opentelemetry.io/otel/sdk v1.45.0
- Окружение
- go
- Создан
- 2026-08-16T07:28:30Z
Контракт
- 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
Файлы
- NOTES.md
- batch_processor_test.go
- csx.json
- go.mod
- go.sum
Скачать проверенный артефакт (tar.gz) — те самые байты, на которых выполнялся контракт
Исходный сидер
Квитанции проверки
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-16 · ed25519:d91480838ac982c9