RFR: 8203359: Container level resources events [v7]
Jaroslav Bachorik
jbachorik at openjdk.java.net
Fri Apr 2 12:33:03 UTC 2021
> With this change it becomes possible to surface various cgroup level metrics (available via `jdk.internal.platform.Metrics`) as JFR events.
>
> Only a subset of the metrics exposed by `jdk.internal.platform.Metrics` is turned into JFR events to start with.
> * CPU related metrics
> * Memory related metrics
> * I/O related metrics
>
> For each of those subsystems a configuration data will be emitted as well. The initial proposal is to emit the configuration data events at least once per chunk and the metrics values at 30 seconds interval.
> By using these values the emitted events seem to contain useful information without increasing overhead (the metrics values are read from `/proc` filesystem so that should not be done too frequently).
Jaroslav Bachorik has updated the pull request incrementally with one additional commit since the last revision:
Remove trailing spaces
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3126/files
- new: https://git.openjdk.java.net/jdk/pull/3126/files/78dc85d3..f4372e23
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3126&range=06
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3126&range=05-06
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/3126.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3126/head:pull/3126
PR: https://git.openjdk.java.net/jdk/pull/3126
More information about the hotspot-jfr-dev
mailing list