We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70f7931 + a361d25 commit 8b9624dCopy full SHA for 8b9624d
cluster-autoscaler/metrics/metrics.go
@@ -504,9 +504,7 @@ func UpdateDurationFromStart(label FunctionLabel, start time.Time) {
504
505
// UpdateDuration records the duration of the step identified by the label
506
func UpdateDuration(label FunctionLabel, duration time.Duration) {
507
- // TODO(maciekpytel): remove second condition if we manage to get
508
- // asynchronous node drain
509
- if duration > LogLongDurationThreshold && label != ScaleDown {
+ if duration > LogLongDurationThreshold {
510
klog.V(4).Infof("Function %s took %v to complete", label, duration)
511
}
512
functionDuration.WithLabelValues(string(label)).Observe(duration.Seconds())
0 commit comments