Skip to content
callcount

go.temporal.io/server/common/cluster.Metadata.GetCurrentClusterName

third-party

The 5091st most-called third-party method by production calls. Called 128 times across 1 modules; 119 of those run outside tests and generated code.

No change in production calls since 2026-W39.

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

prod calls
119
non-test, non-generated
all calls
128
total callsites
modules
1
distinct callers
in loop
8%
of prod calls
in tests
7%
9 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 128, prioritizing in-loop and non-test usage. We link to source, never display it.

Metadata.GetCurrentClusterName · 12 of 128 callsites
  • go.temporal.io/server @v1.32.0

    common/cluster/frontend_http_client.go:96

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

    components/callbacks/request.go:113

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

    components/callbacks/request.go:120

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

    chasm/lib/callback/request.go:129

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

    chasm/lib/callback/request.go:136

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

    service/worker/replicator/replicator.go:185

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

    service/history/replication/task_processor_manager.go:316

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

    service/history/replication/executable_task.go:885

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

    service/history/shard/context_impl.go:1882

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

    service/history/api/namespace.go:25

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

    service/history/api/namespace.go:28

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

    service/history/replication/poller_manager.go:34

top callers

The modules that reach for it

The modules that call Metadata.GetCurrentClusterName most in this snapshot.

  • go.temporal.io/server128100%