use more granular buckets for azure api calls

This commit is contained in:
Marwan Ahmed 2020-09-17 17:28:27 -07:00
parent 2aa1cd25f3
commit cbbdba89b1

View File

@ -115,6 +115,7 @@ func registerAPIMetrics(attributes ...string) *apiCallMetrics {
Namespace: azureMetricsNamespace,
Name: "api_request_duration_seconds",
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,
},
attributes,