Skip to content

Commit

Permalink
robot: fix metric buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
smantic committed Nov 4, 2024
1 parent b21658a commit e205dfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func newMetrics() *metrics.Metrics {
LearnLatency: metrics.NewPromObserverVec(
prometheus.NewHistogramVec(
prometheus.HistogramOpts{
Buckets: []float64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10},
Buckets: []float64{0.01, 0.05, 0.1, 0.2, 0.5, 1, 5, 10},
Namespace: "robot",
Subsystem: "brain",
Name: "learn_latency",
Expand All @@ -388,6 +388,7 @@ func newMetrics() *metrics.Metrics {
UsedMessagesForGeneration: metrics.NewPromHistogram(
prometheus.NewHistogram(
prometheus.HistogramOpts{
Buckets: []float64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10},
Namespace: "robot",
Subsystem: "commands",
Name: "used_messages",
Expand Down

0 comments on commit e205dfc

Please sign in to comment.