coderzc commented on PR #16832:
URL: https://github.com/apache/pulsar/pull/16832#issuecomment-1214721207

   > I don't understand something. You're using an internal class from the JDK 
- it's internal - you're not supposed to use it as is no? How is the JDK itself 
using this - and maybe we can this info in a more public API way? Can you 
describe in more detail the motivation to get those metrics and why normal 
MBean metrics don't cut it?
   
   The `OperatingSystemMXBean` using `jdk.internal.platform.Metrics` to get CPU 
load.
   But `OperatingSystemMXBean` only exports CPU load, we also need the limit of 
CPU unfortunately, JDK did not export it.
   


-- 
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]

Reply via email to