You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 Documentation work is in progress

Introduction

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 JSON file widgets.json. 

 

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

 

 

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

 

Service Dashboard Widgets

Ambari supports 4 widget types:

  1. Graph
  2. Number
  3. Gauge
  4. Template

Graph

A widget to display line or area graphs that are derived from one or more than one service metrics value over a range of time.




Graph Widget Definition




 

  • No labels