context.Context.Err
standard libraryThe 102nd most-called standard-library method by production calls. Called 13,068 times across 599 modules; 10,105 of those run outside tests and generated code.
- prod calls
- 10,105
- non-test, non-generated
- all calls
- 13,068
- total callsites
- modules
- 599
- distinct callers
- in loop
- 40%
- of prod calls
- in tests
- 19%
- 2,435 calls
- resolved
- 0%
- 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 →
- Embedded method<1%Reached through an embedded type.
- Interface method100%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into Context.Err from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 459 5%
- Kubernetes 278 3%
- CockroachDB 228 2%
- Cilium 202 2%
- Dgraph 182 2%
where it's called
Callsites in the wild
12 representative callsites of 13,068, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
go/bufplugin @v0.10.0
internal/pkg/thread/thread.go:67
in loop -
caddyserver/certmagic @v0.25.4
in loop - in loop
- in loop
-
go/profiler @v0.6.0
proftest/proftest.go:487
in loop -
go/storage @v1.64.0
dataflux/worksteal.go:121
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
miekg/dns @v0.6.90
transfer.go:125
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Context.Err most in this snapshot.
- github.com/weaviate/weaviate4543%
- vitess.io/vitess3152%
- github.com/vitessio/vitess3032%
- google.golang.org/grpc2822%
- github.com/grpc/grpc-go2792%
siblings
More from context
The other most-called members in this package. See all →