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

Method IsHealthy

ring/replication_strategy.go:121–123  ·  view source on GitHub ↗
(instance *InstanceDesc, op Operation, now time.Time)

Source from the content-addressed store, hash-verified

119}
120
121func (r *Ring) IsHealthy(instance *InstanceDesc, op Operation, now time.Time) bool {
122 return instance.IsHealthy(op, r.cfg.HeartbeatTimeout, now)
123}
124
125// ReplicationFactor of the ring.
126func (r *Ring) ReplicationFactor() int {

Callers 5

GetAllHealthyMethod · 0.95
updateRingMetricsMethod · 0.95
FilterMethod · 0.45
FilterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected