Skip to content
callcount

go.opentelemetry.io/otel/attribute.Bool

third-party

The 3494th most-called third-party function by production calls. Called 383 times across 55 modules; 169 of those run outside tests and generated code.

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

prod calls
169
non-test, non-generated
all calls
383
total callsites
modules
55
distinct callers
in loop
1%
of prod calls
in tests
56%
214 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 function54%A direct call to an exported package function, resolved by type.
  • Package function (by syntax)46%A package function in a module outside the crawl, keyed by import path.

who calls this

Notable callers

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

Bool · 12 of 383 callsites
  • in loop
  • in loop
  • go.opentelemetry.io/otel @v1.45.0

    attribute/benchmark_test.go:62

    in loop test
  • otel/sdk @v1.45.0

    trace/benchmark_test.go:146

    in loop test
  • otel/sdk @v1.45.0

    trace/benchmark_test.go:178

    in loop test
  • otel/sdk @v1.45.0

    trace/benchmark_test.go:196

    in loop test
  • otel/sdk @v1.45.0

    trace/benchmark_test.go:200

    in loop test
  • otel/sdk @v1.45.0

    trace/benchmark_test.go:218

    in loop test
  • otel/sdk @v1.45.0

    trace/benchmark_test.go:237

    in loop test
  • otel/sdk @v1.45.0

    trace/benchmark_test.go:242

    in loop test
  • otel/sdk/metric @v1.45.0

    provider_test.go:253

    in loop test
  • go.opentelemetry.io/otel @v1.45.0

    attribute/hash_test.go:497

    in loop test

top callers

The modules that reach for it

The modules that call Bool most in this snapshot.

  • go.opentelemetry.io/otel/sdk/metric10026%
  • go.opentelemetry.io/otel298%
  • github.com/dagger/dagger287%
  • go.opentelemetry.io/otel/sdk257%
  • github.com/ipfs/kubo215%

siblings

More from go.opentelemetry.io/otel/attribute

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