Skip to content
callcount

go.temporal.io/server/common/metrics.CounterIface.Record

third-party

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

No change in production calls since 2026-W39.

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

prod calls
592
non-test, non-generated
all calls
701
total callsites
modules
1
distinct callers
in loop
13%
of prod calls
in tests
8%
57 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.

where it's called

Callsites in the wild

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

CounterIface.Record · 12 of 701 callsites
  • go.temporal.io/server @v1.32.0

    service/history/replication/executable_task_converter.go:43

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

    service/history/api/unpauseactivity/api.go:56

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

    service/history/shard/ownership.go:90

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

    service/history/api/resetactivity/api.go:92

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

    service/history/api/pauseactivity/api.go:98

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

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

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

    service/history/api/updateactivityoptions/api.go:100

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

    service/matching/task_reader.go:111

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

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

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

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

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

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

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

    common/tasks/dynamic_worker_pool_scheduler.go:129

    in loop

top callers

The modules that reach for it

The modules that call CounterIface.Record most in this snapshot.

  • go.temporal.io/server701100%

siblings

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

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