go.opentelemetry.io/otel/trace.SpanContext.IsValid
third-partyThe 4983rd most-called third-party method by production calls. Called 171 times across 45 modules; 119 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (120 → 119)
All of go.opentelemetry.io/otel/trace → Docs on pkg.go.dev ↗
- prod calls
- 119
- non-test, non-generated
- all calls
- 171
- total callsites
- modules
- 45
- distinct callers
- in loop
- 6%
- of prod calls
- in tests
- 30%
- 52 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into SpanContext.IsValid from notable Go projects. Open one on the map to see what else it hammers.
- Docker 12 10%
- Grafana 9 8%
- OpenTelemetry 8 7%
- Kubernetes 6 5%
- gRPC 4 3%
where it's called
Callsites in the wild
12 representative callsites of 171, prioritizing in-loop and non-test usage. We link to source, never display it.
-
moby/buildkit @v0.33.0
in loop -
dagger/dagger @v0.21.8
in loop - in loop
- in loop
-
dagger/dagger @v0.21.8
in loop -
dagger/dagger @v0.21.8
in loop -
dagger/dagger @v0.21.8
in loop - in loop test
- in loop test
- in loop test
- in loop test
- in loop test
top callers
The modules that reach for it
The modules that call SpanContext.IsValid most in this snapshot.
- github.com/dagger/dagger3219%
- github.com/gofr-dev/gofr1811%
- github.com/moby/buildkit127%
- github.com/zeromicro/go-zero95%
- github.com/alibaba/open-code-review85%
siblings
More from go.opentelemetry.io/otel/trace
The other most-called members in this package. See all →