Skip to content

Commit

Permalink
Changes to histogram buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
cchapla committed May 31, 2023
1 parent 705c6ff commit 6426962
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ func newWebhookConversionMetrics() *WebhookConversionMetrics {
Name: "webhook_conversion_duration_seconds",
Namespace: namespace,
Help: "Webhook conversion request latency",
// 0.001, 0.002, 0.004, .... 16.384 [1ms, 2ms, 4ms, ...., 16,384 ms]
Buckets: metrics.ExponentialBuckets(0.001, 2, 15),
// Various buckets from 5 ms to 60 seconds
Buckets: []float64{0.005, 0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10, 15, 20, 25, 30, 45, 60},
StabilityLevel: metrics.ALPHA,
},
[]string{"result", "failure_type"},
Expand Down

0 comments on commit 6426962

Please sign in to comment.