Skip to content

Commit

Permalink
Changes to buckets and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cchapla committed May 31, 2023
1 parent 6426962 commit c539c73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func newWebhookConversionMetrics() *WebhookConversionMetrics {
Namespace: namespace,
Help: "Webhook conversion request latency",
// 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},
Buckets: []float64{0.005, 0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10, 20, 30, 45, 60},
StabilityLevel: metrics.ALPHA,
},
[]string{"result", "failure_type"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ func TestWebhookConversionMetrics_ObserveWebhookConversionSuccess(t *testing.T)
wantLabels map[string]string
expectedRequestValue int
}{
// TODO: Add test cases.
{
name: "test_conversion_success",
fields: fields{
Expand Down Expand Up @@ -102,7 +101,6 @@ func TestWebhookConversionMetrics_ObserveWebhookConversionFailure(t *testing.T)
expectedRequestValue int
expectedLatencyCount int
}{
// TODO: Add test cases.
{
name: "test_conversion_failure",
fields: fields{
Expand Down

0 comments on commit c539c73

Please sign in to comment.