k8s.io/component-base/metrics.NewGaugeVec
third-partyThe 2933rd most-called third-party function by production calls. Called 211 times across 6 modules; 203 of those run outside tests and generated code.
- prod calls
- 203
- non-test, non-generated
- all calls
- 211
- total callsites
- modules
- 6
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 4%
- 8 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 function8%A direct call to an exported package function, resolved by type.
- Package function (by syntax)92%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into NewGaugeVec from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 203 100%
where it's called
Callsites in the wild
12 representative callsites of 211, prioritizing in-loop and non-test usage. We link to source, never display it.
-
k8s.io/component-base @v0.36.3
metrics/gauge_test.go:335
in loop test -
k8s.io/component-base @v0.36.3
metrics/gauge_test.go:561
in loop test -
k8s.io/component-base @v0.36.3
metrics/gauge_test.go:741
in loop test -
k8s.io/component-base @v0.36.3
metrics/gauge_test.go:928
in loop test -
k8s.io/component-base @v0.36.3
metrics/version.go:22
-
k8s.io/component-base @v0.36.3
metrics/processstarttime.go:25
-
k8s.io/component-base @v0.36.3
metrics/prometheus/clientgo/leaderelection/metrics.go:26
-
k8s.io/component-base @v0.36.3
metrics/prometheus/version/metrics.go:26
-
kubernetes/kubernetes @master
staging/src/k8s.io/component-base/metrics/prometheus/version/metrics.go:26 ↗
-
kubernetes/kubernetes @master
staging/src/k8s.io/component-base/metrics/prometheus/controllers/metrics.go:28 ↗
-
kubernetes/kubernetes @master
pkg/kubelet/volumemanager/cache/desired_state_of_wold_selinux_metrics.go:28 ↗
-
kubernetes/kubernetes @master
staging/src/k8s.io/component-base/metrics/prometheus/feature/metrics.go:28 ↗
top callers
The modules that reach for it
The modules that call NewGaugeVec most in this snapshot.
- github.com/kubernetes/kubernetes10248%
- k8s.io/kubernetes4622%
- k8s.io/apiserver4119%
- k8s.io/component-base178%
- k8s.io/endpointslice42%
siblings
More from k8s.io/component-base/metrics
The other most-called functions in this package. See all →