Support Questions
Find answers, ask questions, and share your expertise

Why ambari metrics grafana not include datanode java heapsize usage

Expert Contributor

I use ambari 2.5.1.0. and hdp 2.4

I open grafana data and not found datanode jvm metrics on the dashboard,

Why there has no these metrics? and is there a way to auto add them?

2 REPLIES 2

Re: Why ambari metrics grafana not include datanode java heapsize usage

Expert Contributor

@darkz yu

I believe those were missed out since they are less used than the current DN metrics in the Grafana dashboard. However, you can create a new Datanode JVM dashboard on Grafana though. The following jvm metrics are available and collected.

jvm.JvmMetrics.GcCount
jvm.JvmMetrics.GcCountConcurrentMarkSweep
jvm.JvmMetrics.GcCountParNew
jvm.JvmMetrics.GcNumInfoThresholdExceeded
jvm.JvmMetrics.GcNumWarnThresholdExceeded
jvm.JvmMetrics.GcTimeMillis
jvm.JvmMetrics.GcTimeMillisConcurrentMarkSweep
jvm.JvmMetrics.GcTimeMillisParNew
jvm.JvmMetrics.GcTotalExtraSleepTime
jvm.JvmMetrics.LogError
jvm.JvmMetrics.LogFatal
jvm.JvmMetrics.LogInfo
jvm.JvmMetrics.LogWarn
jvm.JvmMetrics.MemHeapCommittedM
jvm.JvmMetrics.MemHeapMaxM
jvm.JvmMetrics.MemHeapUsedM
jvm.JvmMetrics.MemMaxM
jvm.JvmMetrics.MemNonHeapCommittedM
jvm.JvmMetrics.MemNonHeapMaxM
jvm.JvmMetrics.MemNonHeapUsedM
jvm.JvmMetrics.ThreadsBlocked
jvm.JvmMetrics.ThreadsNew
jvm.JvmMetrics.ThreadsRunnable
jvm.JvmMetrics.ThreadsTerminated
jvm.JvmMetrics.ThreadsTimedWaiting
jvm.JvmMetrics.ThreadsWaiting

Re: Why ambari metrics grafana not include datanode java heapsize usage

Expert Contributor

@Aravindan Vijayan

I just found some simple java metric on grafana,only GC TIME / GC TIME PARNEW

But I want to know detail of java metrics such datanode heapsize usage,yong gc count and time which ambari metrics collected

Grafana shows me "This dashboard is managed by Ambari. You may lose any changes made to this dashboard. If you want to customize, make your own copy."

So I don't know how to let them show on grafana automatic