Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS level metrics with Java 9 #13463

Closed
kwart opened this issue Jul 17, 2018 · 1 comment
Closed

OS level metrics with Java 9 #13463

kwart opened this issue Jul 17, 2018 · 1 comment
Assignees
Milestone

Comments

@kwart
Copy link
Contributor

@kwart kwart commented Jul 17, 2018

OS level metrics don’t work on Java 9.

If you just start a node with JDK 9 and you can see in class OperatingSystemMetricSet.register() when you start the node exceptions are silently dropped so you don’t see any output

This is the error:

java.lang.reflect.InaccessibleObjectException: Unable to make public double com.sun.management.internal.OperatingSystemImpl.getProcessCpuLoad() accessible: module jdk.management does not "opens com.sun.management.internal" to unnamed module @66238be2
@kwart kwart added the Team: Core label Jul 17, 2018
@kwart kwart added this to the 3.11 milestone Jul 17, 2018
@kwart kwart self-assigned this Jul 17, 2018
@kwart kwart mentioned this issue Jul 17, 2018
41 of 41 tasks complete
@pveentjer
Copy link
Member

@pveentjer pveentjer commented Aug 9, 2018

So we need to be be able to somehow restore these metrics. So apparently we can't do it through the current approach; but there must be a way so can get this data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.