From cede114c76dd20059ee73e0e317cda4146de61a3 Mon Sep 17 00:00:00 2001 From: cnderrauber Date: Wed, 8 Jul 2026 10:20:45 +0800 Subject: [PATCH] fix panic --- pkg/telemetry/prometheus/packets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/telemetry/prometheus/packets.go b/pkg/telemetry/prometheus/packets.go index f43024c37..7a0828abf 100644 --- a/pkg/telemetry/prometheus/packets.go +++ b/pkg/telemetry/prometheus/packets.go @@ -330,7 +330,7 @@ func IncrementParticipantJoinWriteInitialResponseFail(writeInitialResponseFail u func IncrementParticipantRtcInit(init uint32) { if init > 0 { participantRTCInit.Add(uint64(init)) - promParticipantJoin.WithLabelValues("rtc_init").Add(float64(init)) + promParticipantJoin.WithLabelValues("rtc_init", "").Add(float64(init)) } }