Can anyone tell what parameter we need to set in the "create widget" tab for adding datanode heap metric in Ambari dashboard as it shows for Namenode heap in the metrics
You can see how given widget is configured by viewing it in edit mode:
For example Namenode heap widget is configured as seen below:
Here is link to already posted question on how to add widget
No, I have left that empty. However this metric is aggregate of all datanodes heaps, so I have selected sum as aggregation.
It doesn't show any metric in widget and show n/a always
Verify that ambari metrics services are running on hosts.
Best way to create a widget similar to other is to clone it and then edit.
What version of HDP and ambari you have?
I have ambari 2.2 with hdp 2.3 and it is working fine for me.
I have also tested this on ambari 2.1 with hdp 2.2.9