You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "morhidi (via GitHub)" <gi...@apache.org> on 2023/06/09 23:15:17 UTC

[GitHub] [flink-kubernetes-operator] morhidi commented on a diff in pull request #612: [FLINK-32272] Expose LOAD as autoscaler metric

morhidi commented on code in PR #612:
URL: https://github.com/apache/flink-kubernetes-operator/pull/612#discussion_r1224878956


##########
flink-kubernetes-operator-autoscaler/src/main/java/org/apache/flink/kubernetes/operator/autoscaler/ScalingMetricEvaluator.java:
##########
@@ -137,6 +138,12 @@ private Map<ScalingMetric, EvaluatedScalingMetric> evaluateMetrics(
                         latestVertexMetrics.get(TRUE_PROCESSING_RATE),
                         getAverage(TRUE_PROCESSING_RATE, vertex, metricsHistory)));
 
+        evaluatedMetrics.put(
+                LOAD_MAX,

Review Comment:
   Hi @mxm I chatted with @gyfora briefly on this and implemented a single LOAD metric instead. I've pushed the changes, have a look at it pls.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org