morhidi opened a new pull request, #331:
URL: https://github.com/apache/flink-kubernetes-operator/pull/331
## What is the purpose of the change
- add option to turn on/off the base custom resource metrics
- some additional refactor around the `MetricManager`
## Brief change log
- added `kubernetes.operator.resource.metrics.enabled` to turn on/off the
metrics
- added `TestingMetricListener` utility class
- refactored the `MetricManager` to use registered `CustomResourceMetrics`
interfaces
- fixed generic types on `StatusRecorder`
## Verifying this change
- covered by improved `FlinkDeploymentMetricsTest`,
`FlinkSessionJobMetricsTest`
## 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
docs added for `kubernetes.operator.resource.metrics.enabled`
--
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]