Skip to content

Commit

Permalink
Added min and max values for buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansanin committed Aug 24, 2022
1 parent cdcaf31 commit daeefe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/prometheus_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var (
Namespace: "sidecache_" + ProjectName,
Name: "lock_acquiring_attempts_histogram",
Help: "Lock acquiring attempts histogram",
Buckets: []float64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 100},
Buckets: []float64{0.999, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 100, 1000},
})

totalRequestCounter = prometheus.NewCounter(
Expand Down

0 comments on commit daeefe6

Please sign in to comment.