log/slog.Logger.With
standard libraryThe 935th most-called standard-library method by production calls. Called 808 times across 54 modules; 707 of those run outside tests and generated code.
- prod calls
- 707
- non-test, non-generated
- all calls
- 808
- total callsites
- modules
- 54
- distinct callers
- in loop
- 13%
- of prod calls
- in tests
- 9%
- 74 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 Logger.With from notable Go projects. Open one on the map to see what else it hammers.
- Cilium 303 43%
- Grafana 94 13%
- Prometheus 68 10%
- ClickHouse 5 <1%
- Helm 3 <1%
where it's called
Callsites in the wild
12 representative callsites of 808, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
miekg/dns @v0.6.90
cmd/atomdns/handlers/url/reload.go:20
in loop -
readeck/go-readability/v2 @v2.1.2
parser.go:758
in loop - in loop
- in loop
-
aquasecurity/trivy @v0.73.0
in loop -
benbjohnson/litestream @v0.5.15
in loop -
mgechev/revive @v1.15.0
in loop -
mholt/acmez/v3 @v3.1.6
in loop - in loop
-
slackhq/nebula @v1.11.0
in loop
top callers
The modules that reach for it
The modules that call Logger.With most in this snapshot.
- github.com/cilium/cilium30638%
- github.com/grafana/alloy10213%
- codeberg.org/miekg/dns699%
- github.com/prometheus-operator/prometheus-operator445%
- github.com/prometheus/prometheus364%
siblings
More from log/slog
The other most-called members in this package. See all →