Skip to content

Commit

Permalink
Merge pull request kubernetes#6453 from x13n/master
Browse files Browse the repository at this point in the history
Use exponential buckets for function_duration_seconds
  • Loading branch information
k8s-ci-robot authored Jan 18, 2024
2 parents 13c5875 + aa3bab1 commit d31e1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ var (
Namespace: caNamespace,
Name: "function_duration_seconds",
Help: "Time taken by various parts of CA main loop.",
Buckets: []float64{0.01, 0.05, 0.1, 0.5, 1.0, 2.5, 5.0, 7.5, 10.0, 12.5, 15.0, 17.5, 20.0, 22.5, 25.0, 27.5, 30.0, 50.0, 75.0, 100.0, 1000.0},
Buckets: k8smetrics.ExponentialBuckets(0.01, 1.5, 30), // 0.01, 0.015, 0.0225, ..., 852.2269299239293, 1278.3403948858938
}, []string{"function"},
)

Expand Down

0 comments on commit d31e1cf

Please sign in to comment.