net/http.Header.Add
standard libraryThe 194th most-called standard-library method by production calls. Called 9,284 times across 500 modules; 5,297 of those run outside tests and generated code.
0% in production calls vs 2026-W39 (5,317 → 5,297)
- prod calls
- 5,297
- non-test, non-generated
- all calls
- 9,284
- total callsites
- modules
- 500
- distinct callers
- in loop
- 57%
- of prod calls
- in tests
- 41%
- 3,832 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 Header.Add from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 144 3%
- InfluxDB 64 1%
- Grafana 61 1%
- VictoriaMetrics 43 <1%
- Docker 35 <1%
where it's called
Callsites in the wild
12 representative callsites of 9,284, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
cilium/cilium @v1.20.2
in loop - in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
connectrpc.com/connect @v1.21.0
protocol_grpc.go:567
in loop - in loop
- in loop
- in loop
- in loop
-
docker/distribution @v2.8.3+incompatible
in loop
top callers
The modules that reach for it
The modules that call Header.Add most in this snapshot.
- github.com/elastic/go-elasticsearch/v81,13612%
- github.com/gophercloud/gophercloud8379%
- github.com/elastic/go-elasticsearch/v78179%
- github.com/elastic/go-elasticsearch/v65136%
- github.com/hashicorp/consul2343%
siblings
More from net/http
The other most-called members in this package. See all →