XComp opened a new pull request #13640: URL: https://github.com/apache/flink/pull/13640
## What is the purpose of the change A new metric for monitoring the Metaspace usage needs to be introduced to finish [FLIP-102](https://cwiki.apache.org/confluence/display/FLINK/FLIP-102%3A+Add+More+Metrics+to+TaskManager). ## Brief change log * Added new metric analogous to `Heap` and `NonHeap` metric. * Extended documentation accordingly. * Added note to the memory metrics documentation after we ran into problems with IBM's J9 OpenJDK implementation. * Included missing testcase for nonheap metric to check whether the metric's value is not static. ## Verifying this change * Added new tests to `MetricUtils` to cover the new metric ## 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 changed class annotated with `@Public(Evolving)`: yes - The serializers: no - The runtime per-record code paths (performance sensitive): no - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no - The S3 file system connector: no ## Documentation - Does this pull request introduce a new feature? yes - 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. For queries about this service, please contact Infrastructure at: [email protected]
