From b21658a79e4960167c53b94ff61dc09865ac0889 Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sun, 3 Nov 2024 07:38:17 -0500 Subject: [PATCH] robot: fix metric tags --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 878adb1..ad8aeae 100644 --- a/main.go +++ b/main.go @@ -370,7 +370,7 @@ func newMetrics() *metrics.Metrics { Name: "speak_latency", Help: "How long it takes for robot to speak once prompted in seconds", }, - []string{"channel", "empty-prompt"}, + []string{"tag", "empty_prompt"}, ), ), LearnLatency: metrics.NewPromObserverVec( @@ -382,7 +382,7 @@ func newMetrics() *metrics.Metrics { Name: "learn_latency", Help: "How long it takes robot to learn a non discarded message in seconds", }, - []string{"channel"}, + []string{"tag"}, ), ), UsedMessagesForGeneration: metrics.NewPromHistogram(