From 141bd854c96f6ae49888d61f1c1537895a59f074 Mon Sep 17 00:00:00 2001 From: Tsuyoshi Ushio Date: Sat, 4 Sep 2021 09:50:17 -0700 Subject: [PATCH] Update pkg/scaling/scale_handler.go Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com> --- pkg/scaling/scale_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scaling/scale_handler.go b/pkg/scaling/scale_handler.go index e29e091904e..ad59a80c356 100644 --- a/pkg/scaling/scale_handler.go +++ b/pkg/scaling/scale_handler.go @@ -320,7 +320,7 @@ func (h *scaleHandler) getScalersMetrics(ctx context.Context, scalers []scalers. maxValue := int64(0) scalerType := fmt.Sprintf("%T:", scaler) - scalerLogger := h.logger.WithValues("Scaler", scalerType) + scalerLogger := h.logger.WithValues("ScaledJob", scaledJob.Name, "Scaler", scalerType) metricSpecs := scaler.GetMetricSpecForScaling()