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

Method WritableInstancesWithTokensCount

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

WritableInstancesWithTokensCount returns the number of writable instances in the ring that have tokens.

()

Source from the content-addressed store, hash-verified

139
140 // WritableInstancesWithTokensCount returns the number of writable instances in the ring that have tokens.
141 WritableInstancesWithTokensCount() int
142
143 // WritableInstancesWithTokensInZoneCount returns the number of writable instances in the ring that are registered in given zone and have tokens.
144 WritableInstancesWithTokensInZoneCount(zone string) int

Implementers 2

Ringring/ring.go
RingMockring/util_test.go

Calls

no outgoing calls