tweise commented on code in PR #607:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/607#discussion_r1205905605
##########
flink-kubernetes-operator-autoscaler/src/main/java/org/apache/flink/kubernetes/operator/autoscaler/metrics/ScalingMetrics.java:
##########
@@ -82,7 +82,7 @@ public static void computeDataRateMetrics(
scalingMetrics.put(ScalingMetric.TRUE_PROCESSING_RATE,
trueProcessingRate);
scalingMetrics.put(ScalingMetric.CURRENT_PROCESSING_RATE,
numRecordsInPerSecond);
} else {
- LOG.error("Cannot compute true processing rate without
numRecordsInPerSecond");
+ LOG.warn("Cannot compute true processing rate without
numRecordsInPerSecond");
Review Comment:
Same as above, the logging is probably not the best way to bring this to the
intended audience and warn should probably be mostly reserved for operator
internal problems.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]