net/http.Request.UserAgent
standard libraryThe 1773rd most-called standard-library method by production calls. Called 445 times across 99 modules; 345 of those run outside tests and generated code.
- prod calls
- 345
- non-test, non-generated
- all calls
- 445
- total callsites
- modules
- 99
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 22%
- 100 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 method98%A method on a value whose type is known exactly.
- Embedded method2%Reached through an embedded type.
who calls this
Notable callers
Production calls into Request.UserAgent from notable Go projects. Open one on the map to see what else it hammers.
- MinIO 32 9%
- Kubernetes 16 5%
- OpenTelemetry 9 3%
- Docker 3 <1%
- Harbor 3 <1%
where it's called
Callsites in the wild
12 representative callsites of 445, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
miniflux.app/v2 @v2.3.3
internal/googlereader/handler.go:1027
in loop -
minio/minio @v0.0.0-20260212201848-7aac2a2c5b7c
in loop -
minio/minio @v0.0.0-20260212201848-7aac2a2c5b7c
in loop -
minio/minio @v0.0.0-20260212201848-7aac2a2c5b7c
in loop -
minio/minio @v0.0.0-20260212201848-7aac2a2c5b7c
in loop - in loop test
- in loop test
- in loop test
- in loop test
-
x/crypto @v0.54.0
acme/http_test.go:218
in loop test - in loop test
top callers
The modules that reach for it
The modules that call Request.UserAgent most in this snapshot.
- github.com/miniflux/v28018%
- miniflux.app/v28018%
- github.com/minio/minio327%
- github.com/googleapis/mcp-toolbox174%
- github.com/kubernetes/kubernetes112%
siblings
More from net/http
The other most-called members in this package. See all →