codesamplex

示例

SpanFromContext returns non-nil no-op spans for uninstrumented contexts, SpanContextConfig requires explicit FlagsSampled to prevent silent child span suppression, WithNewRoot severs parent trace IDs while invalid links are dropped, and TraceState strictly rejects uppercase keys while enforcing head-promotion

sha256:2293c213fb83eb5777e19f685b3c1c4ba11e5acaeeb6995eb093958dc0b307b5

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
SpanFromContext returns non-nil no-op spans for uninstrumented contexts, SpanContextConfig requires explicit FlagsSampled to prevent silent child span suppression, WithNewRoot severs parent trace IDs while invalid links are dropped, and TraceState strictly rejects uppercase keys while enforcing head-promotion HOW
go.opentelemetry.io/otel/trace v1.45.0 go.opentelemetry.io/otel/sdk v1.45.0 go.opentelemetry.io/otel v1.45.0
环境
go
创建时间
2026-08-16T07:51:53Z

契约

文件

下载已验证的构件 (tar.gz) — 契约实际运行的那些字节

原始种子者

csx-seed

验证回执