-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Upgrade to server-metrics 0.5.0 #4480
Conversation
<exclusions> | ||
<exclusion> | ||
<groupId>com.metamx</groupId> | ||
<artifactId>java-util</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we no longer need to exclude java-util?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drcrallen Druid doesn't depend on java-util directly. Most if not all deps which depend on it transitively use java-util:0.28.2, including server-metrics.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
@leventov After this change, we're hitting a ClassNotFoundException: org.hyperic.jni.ArchNotSupportedException exception from the JvmMonitor class. It seems that in server-metrics 0.5.0, JvmMonitor has a dependency on Sigar which is not pulled into Druid because of the optional dependency. |
@a2l007 metamx/server-metrics#33 can you peek at that one? it should fix the problem. |
@drcrallen once the server-metrics dependency is updated in Druid, it should fix it. |
Fixes #4083
The incompatible difference is explained here: https://github.com/metamx/server-metrics/releases/tag/server-metrics-0.3.0,
jvm/gc/cpu
is emitted instead ofjvm/gc/time
.jvm/gc/time
didn't actually reflect "GC time" in any reasonable sense. The newjvm/gc/cpu
is the amount of CPU time spend in all GC threads in the JVM, measured in nanoseconds.