From eb895dc139918572c3d3b3f148613f000bf23bf2 Mon Sep 17 00:00:00 2001 From: Tyler Reid Date: Tue, 12 Oct 2021 09:17:56 -0500 Subject: [PATCH] Collect metrics on ring start --- ring/ring.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ring/ring.go b/ring/ring.go index 01b8d82ca..fe24dce3e 100644 --- a/ring/ring.go +++ b/ring/ring.go @@ -282,6 +282,7 @@ func (r *Ring) starting(ctx context.Context) error { } r.updateRingState(value.(*Desc)) + r.updateRingMetrics() // Start metrics update ticker, and give it a function to update the ring metrics. r.metricsUpdateTicker = time.NewTicker(10 * time.Second)