go.opentelemetry.io/otel/metric.WithAttributes
third-partyThe 2087th most-called third-party function by production calls. Called 3,858 times across 33 modules; 290 of those run outside tests and generated code.
All of go.opentelemetry.io/otel/metric → Docs on pkg.go.dev ↗
- prod calls
- 290
- non-test, non-generated
- all calls
- 3,858
- total callsites
- modules
- 33
- distinct callers
- in loop
- 9%
- of prod calls
- in tests
- 2%
- 67 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 WithAttributes 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 3,858, prioritizing in-loop and non-test usage. We link to source, never display it.
-
dagger/dagger @v0.21.8
in loop - in loop
- in loop
-
intel/goresctrl @v0.13.0
in loop -
netdata/netdata @v2.10.4+incompatible
in loop - in loop
- in loop
- in loop
- in loop
- in loop
-
dagger/dagger @v0.21.8
in loop - in loop
top callers
The modules that reach for it
The modules that call WithAttributes most in this snapshot.
- go.opentelemetry.io/otel3,50591%
- github.com/netbirdio/netbird501%
- go.opentelemetry.io/otel/sdk/metric411%
- github.com/gastownhall/gastown27<1%
- github.com/kyverno/kyverno27<1%
siblings
More from go.opentelemetry.io/otel/metric
The other most-called functions in this package. See all →