Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This feature was first introduced in Ambari 2.1.0 release. Any Ambari release before 2.1.0 does not support this feature. Cluster is required to be upgraded to Ambari 2.1.0 or above to use this feature.  

Warning

This document assumes that the service metrics are being exposed via Ambari. If this is not the case then please refer to Metrics document for more related information.

...

The term Enhanced Service Dashboard is used for being able to seamlessly add new widgets to the service summary page and heatmap page. This feature enables stack service to be packaged with the widget definitions in the JSON format. These widget definitions will appear as default widgets on the service summary page and heatmap page on service installation. In addition new widgets for the service can be created any time on the deployed cluster. 

Displaying default service dashboard widgets on service installation is a 3 step process:

  1. Push service metrics to Ambari Metric Collector.
  2. Declare service metrics in service's metrics.json file of Ambari. This step is required to expose metrics via Ambari RESTful API.
  3. Define service widgets in the  widgetswidgets.json file. 

 

Tip

Widget gets the data to be charted from the service metrics. It is important to validate that the required service metrics are being exposed from Ambari metrics endpoint before defining a widget.

...

Service Dashboard Widgets

...