github.com/prometheus/common/model.LabelName
third-partyThe 2100th most-called third-party function by production calls. Called 379 times across 14 modules; 288 of those run outside tests and generated code.
All of github.com/prometheus/common/model → Docs on pkg.go.dev ↗
- prod calls
- 288
- non-test, non-generated
- all calls
- 379
- total callsites
- modules
- 14
- distinct callers
- in loop
- 73%
- of prod calls
- in tests
- 24%
- 91 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 →
- Package function (by syntax)100%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into LabelName from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 186 65%
- Prometheus 85 30%
- Cortex 6 2%
- Kubernetes 4 1%
where it's called
Callsites in the wild
12 representative callsites of 379, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
linkerd/linkerd2 @v18.9.1+incompatible
in loop - in loop
-
grafana/mimir @v1.10.0
in loop -
k8s.io/component-base @v0.36.3
metrics/testutil/metrics.go:169
in loop - in loop
- in loop
- in loop
- in loop
-
linkerd/linkerd2 @v18.9.1+incompatible
in loop -
prometheus/alertmanager @v0.33.1
in loop - in loop
top callers
The modules that reach for it
The modules that call LabelName most in this snapshot.
- github.com/prometheus/prometheus11931%
- github.com/grafana/alloy11731%
- github.com/grafana/loki/v36016%
- github.com/grafana/loki205%
- github.com/prometheus/alertmanager133%
siblings
More from github.com/prometheus/common/model
The other most-called functions in this package. See all →