Skip to content

Commit

Permalink
robot: fix metric tags
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyrtronium committed Nov 3, 2024
1 parent 6fdb330 commit b21658a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit b21658a

Please sign in to comment.