Skip to content
callcount

k8s.io/component-base/metrics.NewCounterVec

third-party

The 1550th most-called third-party function by production calls. Called 402 times across 8 modules; 396 of those run outside tests and generated code.

All of k8s.io/component-base/metrics → Docs on pkg.go.dev ↗

prod calls
396
non-test, non-generated
all calls
402
total callsites
modules
8
distinct callers
in loop
0%
of prod calls
in tests
1%
6 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 function4%A direct call to an exported package function, resolved by type.
  • Package function (by syntax)96%A package function in a module outside the crawl, keyed by import path.

who calls this

Notable callers

Production calls into NewCounterVec from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 402, prioritizing in-loop and non-test usage. We link to source, never display it.

NewCounterVec · 12 of 402 callsites

top callers

The modules that reach for it

The modules that call NewCounterVec most in this snapshot.

  • github.com/kubernetes/kubernetes21052%
  • k8s.io/kubernetes9423%
  • k8s.io/apiserver7218%
  • k8s.io/component-base184%
  • k8s.io/apiextensions-apiserver3<1%

siblings

More from k8s.io/component-base/metrics

The other most-called functions in this package. See all →