Skip to content
callcount

go.temporal.io/server/common/metrics.counterDefinition.With

third-party

The 1294th most-called third-party method by production calls. Called 510 times across 1 modules; 477 of those run outside tests and generated code.

All of go.temporal.io/server/common/metrics → Docs on pkg.go.dev ↗

prod calls
477
non-test, non-generated
all calls
510
total callsites
modules
1
distinct callers
in loop
12%
of prod calls
in tests
<1%
1 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 →

  • Concrete method100%A method on a value whose type is known exactly.

where it's called

Callsites in the wild

12 representative callsites of 510, prioritizing in-loop and non-test usage. We link to source, never display it.

counterDefinition.With · 12 of 510 callsites
  • go.temporal.io/server @v1.31.2

    service/history/replication/executable_task_converter.go:43

    in loop
  • go.temporal.io/server @v1.31.2

    service/history/shard/ownership.go:90

    in loop
  • go.temporal.io/server @v1.31.2

    service/worker/scanner/executions/task.go:99

    in loop
  • go.temporal.io/server @v1.31.2

    service/matching/task_reader.go:111

    in loop
  • go.temporal.io/server @v1.31.2

    service/worker/scanner/executions/task.go:118

    in loop
  • go.temporal.io/server @v1.31.2

    service/worker/scanner/executor/executor.go:124

    in loop
  • go.temporal.io/server @v1.31.2

    service/worker/scanner/executor/executor.go:128

    in loop
  • go.temporal.io/server @v1.31.2

    common/tasks/dynamic_worker_pool_scheduler.go:128

    in loop
  • go.temporal.io/server @v1.31.2

    service/history/replication/executable_task_tracker.go:130

    in loop
  • go.temporal.io/server @v1.31.2

    service/worker/scanner/executor/executor.go:131

    in loop
  • go.temporal.io/server @v1.31.2

    service/worker/scanner/executor/executor.go:135

    in loop
  • go.temporal.io/server @v1.31.2

    service/history/queues/memory_scheduled_queue.go:136

    in loop

top callers

The modules that reach for it

The modules that call counterDefinition.With most in this snapshot.

  • go.temporal.io/server510100%

siblings

More from go.temporal.io/server/common/metrics

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