Skip to content
callcount

go.uber.org/zap/zapcore.ObjectEncoder.AddString

third-party

The 5107th most-called third-party method by production calls. Called 359 times across 11 modules; 115 of those run outside tests and generated code.

All of go.uber.org/zap/zapcore → Docs on pkg.go.dev ↗

prod calls
115
non-test, non-generated
all calls
359
total callsites
modules
11
distinct callers
in loop
<1%
of prod calls
in tests
10%
35 calls
resolved
0%
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 →

  • Interface method100%Called through an interface. The runtime target may differ.

who calls this

Notable callers

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

ObjectEncoder.AddString · 12 of 359 callsites
  • go.uber.org/yarpc @v1.89.3

    api/transport/router.go:82

    in loop
  • go.uber.org/thriftrw @v1.34.0

    plugin/api/api.go:515

    in loop
  • go.uber.org/yarpc @v1.89.3

    serialize/internal/internal.go:799

    in loop
  • go.uber.org/thriftrw @v1.34.0

    gen/internal/tests/collision/collision.go:1596

    in loop
  • go.uber.org/thriftrw @v1.34.0

    plugin/api/api.go:3018

    in loop
  • go.uber.org/thriftrw @v1.34.0

    gen/internal/tests/containers/containers.go:3058

    in loop
  • go.uber.org/thriftrw @v1.34.0

    gen/internal/tests/structs/structs.go:4334

    in loop
  • go.uber.org/thriftrw @v1.34.0

    gen/internal/tests/containers/containers.go:6227

    in loop
  • in loop test
  • go.uber.org/zap @v1.28.0

    zapcore/console_encoder_bench_test.go:34

    in loop test
  • go.uber.org/zap @v1.28.0

    zapcore/console_encoder_bench_test.go:38

    in loop test
  • go.uber.org/zap @v1.28.0

    zapcore/console_encoder_bench_test.go:39

    in loop test

top callers

The modules that reach for it

The modules that call ObjectEncoder.AddString most in this snapshot.

  • go.uber.org/thriftrw14841%
  • go.uber.org/yarpc7621%
  • go.uber.org/zap3811%
  • github.com/livekit/livekit3710%
  • github.com/cadence-workflow/cadence154%

siblings

More from go.uber.org/zap/zapcore

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