gyfora opened a new pull request, #628:
URL: https://github.com/apache/flink-kubernetes-operator/pull/628
## What is the purpose of the change
Improve the autoscaler metric collection logic to be aware of finished
vertices and do not collect metrics from them. Simplify topology handling.
For finished metrics we use hardcoded metrics that show 0 incoming data /
lag etc in order to allow downstream operators to be scaled accordingly even if
they have other inputs.
## Brief change log
- *Add finished flag to VertexInfo*
- *Exclude finished vertices from scaling metric collection*
- *Simplify topology and metric name collection*
- *Unit test*
## Verifying this change
New unit tests
## 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? not applicable
--
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]