morhidi opened a new pull request, #613: URL: https://github.com/apache/flink-kubernetes-operator/pull/613
## What is the purpose of the change It is beneficial to report the recommended parallelism and overlay it with the current parallelism on the same chart when auto scaler is running in advisor mode. ## Brief change log - Added a new `RECOMMENDED_PARALLELISM` entry to `ScalingMetric` - Recommended parallelisms are updated only when scaling reports are being generated - The latest recommended parallelisms are being reported as metrics (gauges) ## Verifying this change <!-- Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing --> - Added unit test for recommended parallelisms - Manual by checking the actual metrics being reported ``` AutoScaler.jobVertexID.90bea66de1c231edf33913ecd54406c1.PARALLELISM.Current: 1.0 AutoScaler.jobVertexID.90bea66de1c231edf33913ecd54406c1.PARALLELISM.Current: 1.0 AutoScaler.jobVertexID.90bea66de1c231edf33913ecd54406c1.PARALLELISM.Current: 1.0 AutoScaler.jobVertexID.90bea66de1c231edf33913ecd54406c1.RECOMMENDED_PARALLELISM.Current: 6.0 AutoScaler.jobVertexID.90bea66de1c231edf33913ecd54406c1.PARALLELISM.Current: 1.0 AutoScaler.jobVertexID.90bea66de1c231edf33913ecd54406c1.RECOMMENDED_PARALLELISM.Current: 6.0 AutoScaler.jobVertexID.90bea66de1c231edf33913ecd54406c1.PARALLELISM.Current: 6.0 ``` ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): ( no) - The public API, i.e., is any changes to the `CustomResourceDescriptors`: ( no) - Core observer or reconciler logic that is regularly executed: (no) ## Documentation - Does this pull request introduce a new feature? (no) - If yes, how is the feature documented? (docs) -- 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]
