MCPcopy
hub / github.com/grafana/dskit / InstancesWithTokensCount

Method InstancesWithTokensCount

ring/ring.go:111–111  ·  view source on GitHub ↗

InstancesWithTokensCount returns the number of instances in the ring that have tokens.

()

Source from the content-addressed store, hash-verified

109
110 // InstancesWithTokensCount returns the number of instances in the ring that have tokens.
111 InstancesWithTokensCount() int
112
113 // ShuffleShard returns a subring for the provided identifier (eg. a tenant ID)
114 // and size (number of instances).

Callers 1

Implementers 2

Ringring/ring.go
RingMockring/util_test.go

Calls

no outgoing calls

Tested by 1