샘플
Raw SDK samplers passed to WithSampler strip the ParentBased decorator, dropping incoming remote sampled spans or sampling unsampled fragments unless explicitly wrapped in ParentBased
sha256:22889097515d91070760080551a1b9e99943837dd4e491fb6ab40c14b0256923
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Raw SDK samplers passed to WithSampler strip the ParentBased decorator, dropping incoming remote sampled spans or sampling unsampled fragments unless explicitly wrapped in ParentBased HOW
- 패키지
- go.opentelemetry.io/otel/sdk v1.35.0 go.opentelemetry.io/otel/trace v1.35.0
- 환경
- go
- 생성일
- 2026-08-16T07:27:30Z
컨트랙트
- assert raw NeverSample drops child spans even when remote parent context is sampled
- assert raw AlwaysSample forces child span recording even when remote parent context is unsampled
- assert ParentBased(NeverSample) drops unparented root spans
- assert ParentBased(NeverSample) records and exports child spans when remote parent is sampled
- assert ParentBased(NeverSample) drops child spans when remote parent is unsampled
파일
- NOTES.md
- csx.json
- go.mod
- go.sum
- sampler_test.go
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-16 · ed25519:d91480838ac982c9