Skip to content

Commit

Permalink
update: expand histogram buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
kianaza committed Jul 10, 2024
1 parent 7903a53 commit f98a988
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions internal/natsclient/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,33 @@ const (

var latencyBuckets = []float64{
0.001,
0.0013,
0.0015,
0.0017,
0.002,
0.0023,
0.0025,
0.0027,
0.003,
0.0035,
0.004,
0.0045,
0.005,
0.0055,
0.006,
0.0065,
0.007,
0.0075,
0.008,
0.0085,
0.009,
0.0095,
0.01,
0.015,
0.02,
0.025,
0.03,
0.045,
0.05,
0.065,
0.07,
0.075,
}

// Metrics has all the client metrics.
Expand Down

0 comments on commit f98a988

Please sign in to comment.