go.opentelemetry.io/otel/attribute.NewSet
third-partyThe 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.
- gRPC 84 48%
- OpenTelemetry 50 29%
- Istio 6 3%
- Grafana 3 2%
- Docker 2 1%
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.
- in loop
- in loop
- in loop
- in loop test
-
google.golang.org/grpc @v1.83.0
stats/opentelemetry/csm/pluginoption_test.go:446
in loop test -
go.opentelemetry.io/otel @v1.45.0
attribute/set_test.go:98
in loop test - in loop test
-
go.opentelemetry.io/otel @v1.45.0
attribute/iterator_test.go:122
in loop test -
go.opentelemetry.io/otel @v1.45.0
attribute/iterator_test.go:123
in loop test -
otel/sdk/metric @v1.45.0
internal/aggregate/aggregate_test.go:183
in loop test -
go.opentelemetry.io/otel @v1.45.0
attribute/value_test.go:224
in loop test -
go.opentelemetry.io/otel @v1.45.0
attribute/value_test.go:224
in loop test
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 →