From f76ba8e8aca952fc7f4dba597c904410f699d8ce Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Fri, 15 Dec 2023 16:10:07 -0700 Subject: [PATCH] Ensure confirmed sequence number metric is populated --- broadcaster/backlog/backlog.go | 1 + 1 file changed, 1 insertion(+) diff --git a/broadcaster/backlog/backlog.go b/broadcaster/backlog/backlog.go index 448bb79b13..851561f482 100644 --- a/broadcaster/backlog/backlog.go +++ b/broadcaster/backlog/backlog.go @@ -69,6 +69,7 @@ func (b *backlog) Append(bm *m.BroadcastMessage) error { segment = newBacklogSegment() b.head.Store(segment) b.tail.Store(segment) + confirmedSequenceNumberGauge.Update(int64(msg.SequenceNumber)) } prevMsgIdx := segment.End()