mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
use more granular buckets for azure api calls
This commit is contained in:
parent
2aa1cd25f3
commit
cbbdba89b1
@ -115,6 +115,7 @@ func registerAPIMetrics(attributes ...string) *apiCallMetrics {
|
|||||||
Namespace: azureMetricsNamespace,
|
Namespace: azureMetricsNamespace,
|
||||||
Name: "api_request_duration_seconds",
|
Name: "api_request_duration_seconds",
|
||||||
Help: "Latency of an Azure API call",
|
Help: "Latency of an Azure API call",
|
||||||
|
Buckets: []float64{.1, .25, .5, 1, 2.5, 5, 10, 15, 25, 50, 120, 300, 600, 1200},
|
||||||
StabilityLevel: metrics.ALPHA,
|
StabilityLevel: metrics.ALPHA,
|
||||||
},
|
},
|
||||||
attributes,
|
attributes,
|
||||||
|
Loading…
Reference in New Issue
Block a user