Skip to content
callcount

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

third-party

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

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

prod calls
112
non-test, non-generated
all calls
121
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 121, prioritizing in-loop and non-test usage. We link to source, never display it.

Metadata.GetCurrentClusterName · 12 of 121 callsites
  • go.temporal.io/server @v1.31.2

    common/cluster/frontend_http_client.go:96

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

    chasm/lib/callback/request.go:105

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

    components/callbacks/request.go:105

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

    chasm/lib/callback/request.go:112

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

    components/callbacks/request.go:112

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

    service/worker/replicator/replicator.go:185

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

    service/history/replication/task_processor_manager.go:311

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

    service/history/replication/executable_task.go:838

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

    service/history/shard/context_impl.go:1907

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

    service/history/api/namespace.go:25

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

    service/history/api/namespace.go:28

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

    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/server121100%