Integrated: 8203359: Container level resources events
Jaroslav Bachorik
jbachorik at openjdk.java.net
Fri May 21 09:47:38 UTC 2021
On Mon, 22 Mar 2021 15:57:12 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:
> 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).
This pull request has now been integrated.
Changeset: ee2651b9
Author: Jaroslav Bachorik <jbachorik at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/ee2651b9e5a9ab468b4be73d43b8f643e9e92042
Stats: 598 lines in 14 files changed: 582 ins; 4 del; 12 mod
8203359: Container level resources events
Reviewed-by: sgehwolf, egahlin
-------------
PR: https://git.openjdk.java.net/jdk/pull/3126
More information about the hotspot-jfr-dev
mailing list