Skip to content
callcount

go.opentelemetry.io/otel/attribute.NewSet

third-party

The 3402nd most-called third-party function by production calls. Called 646 times across 39 modules; 174 of those run outside tests and generated code.

All of go.opentelemetry.io/otel/attribute → Docs on pkg.go.dev ↗

prod calls
174
non-test, non-generated
all calls
646
total callsites
modules
39
distinct callers
in loop
2%
of prod calls
in tests
73%
472 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 function59%A direct call to an exported package function, resolved by type.
  • Package function (by syntax)41%A package function in a module outside the crawl, keyed by import path.

who calls this

Notable callers

Production calls into NewSet 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 646, prioritizing in-loop and non-test usage. We link to source, never display it.

NewSet · 12 of 646 callsites

top callers

The modules that reach for it

The modules that call NewSet most in this snapshot.

  • go.opentelemetry.io/otel/sdk/metric9415%
  • github.com/grpc/grpc-go8814%
  • google.golang.org/grpc8814%
  • go.opentelemetry.io/otel/sdk508%
  • go.opentelemetry.io/otel294%

siblings

More from go.opentelemetry.io/otel/attribute

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