샘플
Multiple WithInstrumentationAttributes and WithInstrumentationAttributeSet options merge scope attributes with last-value-wins precedence instead of overwriting earlier options
sha256:754781c365eac75c8696c1c32b0184086b76a32bfc2e42ecdcf75496a3940a73
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Multiple WithInstrumentationAttributes and WithInstrumentationAttributeSet options merge scope attributes with last-value-wins precedence instead of overwriting earlier options HOW
- 패키지
- go.opentelemetry.io/otel v1.45.0 go.opentelemetry.io/otel/trace v1.45.0
- 환경
- go
- 생성일
- 2026-08-16T12:32:20Z
컨트랙트
- assert multiple WithInstrumentationAttributes options merge disjoint keys across option calls
- assert duplicate keys across WithInstrumentationAttributes calls use last-value-wins semantics
- assert intra-call duplicate keys in WithInstrumentationAttributes synchronously deduplicate
- assert interleaved WithInstrumentationAttributes and WithInstrumentationAttributeSet merge correctly
- assert tracer version and schema URL options do not disturb merged instrumentation attributes
파일
- NOTES.md
- csx.json
- go.mod
- go.sum
- tracer_config_test.go
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-16 · ed25519:d91480838ac982c9