Skip to content

Commit

Permalink
align capi runtime sdk histogram bucket values with controller-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxFedotov committed Jan 24, 2023
1 parent 52f810c commit 9b89a55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/runtime/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ var (
Subsystem: runtimeSDKSubsystem,
Name: "request_duration_seconds",
Help: "Request duration in seconds, broken down by hook and host.",
Buckets: prometheus.ExponentialBuckets(0.001, 2, 10),
Buckets: []float64{0.005, 0.025, 0.05, 0.1, 0.2, 0.4, 0.6, 0.8, 1.0, 1.25, 1.5, 2, 3,
4, 5, 6, 8, 10, 15, 20, 30, 45, 60},
}, []string{"host", "group", "version", "hook"}),
}
)
Expand Down

0 comments on commit 9b89a55

Please sign in to comment.