Skip to content

Commit

Permalink
chore: increase api latency bucket to 5 mins (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsbh authored Nov 22, 2024
1 parent 594e858 commit 0b2c236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func Serve(
// setup metrics
srvMetrics := grpcprom.NewServerMetrics(
grpcprom.WithServerHandlingTimeHistogram(
grpcprom.WithHistogramBuckets([]float64{0.001, 0.01, 0.1, 0.3, 0.6, 1, 3, 6, 9, 20, 30, 60, 90, 120}),
grpcprom.WithHistogramBuckets([]float64{0.001, 0.01, 0.1, 0.3, 0.6, 1, 3, 6, 9, 20, 30, 60, 90, 120, 180, 240, 300}),
),
)

Expand Down

0 comments on commit 0b2c236

Please sign in to comment.