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

Method ZonesCount

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

ZonesCount returns the number of zones for which there's at least 1 instance registered in the ring.

()

Source from the content-addressed store, hash-verified

145
146 // ZonesCount returns the number of zones for which there's at least 1 instance registered in the ring.
147 ZonesCount() int
148
149 // Zones returns the list of zones for which there's at least 1 instance registered in the ring.
150 // The returned slice is sorted alphabetically.

Implementers 2

Ringring/ring.go
RingMockring/util_test.go

Calls

no outgoing calls