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

Method InstancesInZoneCount

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

InstancesInZoneCount returns the number of instances in the ring that are registered in given zone.

(zone string)

Source from the content-addressed store, hash-verified

133
134 // InstancesInZoneCount returns the number of instances in the ring that are registered in given zone.
135 InstancesInZoneCount(zone string) int
136
137 // InstancesWithTokensInZoneCount returns the number of instances in the ring that are registered in given zone and have tokens.
138 InstancesWithTokensInZoneCount(zone string) int

Implementers 2

Ringring/ring.go
RingMockring/util_test.go

Calls

no outgoing calls