http://git-wip-us.apache.org/repos/asf/ambari/blob/b76a5f56/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-overview.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-overview.json b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-overview.json deleted file mode 100644 index f802548..0000000 --- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-overview.json +++ /dev/null @@ -1,488 +0,0 @@ -{ - "id": 3, - "title": "YARN Home", - "originalTitle": "YARN Home", - "tags": [], - "style": "dark", - "timezone": "browser", - "editable": true, - "hideControls": false, - "sharedCrosshair": false, - "rows": [ - { - "collapse": false, - "editable": true, - "height": "200px", - "panels": [ - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": null, - "editable": true, - "error": false, - "format": "none", - "id": 3, - "interval": null, - "isNew": true, - "links": [], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "span": 4, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "targets": [ - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "yarn.ClusterMetrics.NumActiveNMs", - "refId": "A" - } - ], - "thresholds": "", - "title": "Active nodes", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": null, - "editable": true, - "error": false, - "format": "none", - "id": 2, - "interval": null, - "isNew": true, - "links": [], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "span": 4, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "targets": [ - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "yarn.QueueMetrics.Queue=root.AppsRunning", - "precision": "seconds", - "refId": "A", - "shouldAddPrecision": false - } - ], - "thresholds": "", - "title": "Running apps", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": null, - "editable": true, - "error": false, - "format": "mbytes", - "id": 6, - "interval": null, - "isNew": true, - "links": [], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "span": 4, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "targets": [ - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "jvm.JvmMetrics.MemHeapUsedM", - "refId": "C" - } - ], - "thresholds": "", - "title": "ResourceManager Heap", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - } - ], - "title": "Row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "aliasColors": {}, - "bars": false, - "datasource": null, - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "id": 8, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [ - { - "dashUri": "db/node-managers", - "dashboard": "Node Managers", - "title": "Node Managers", - "type": "dashboard" - } - ], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "yarn.ClusterMetrics.NumActiveNMs", - "refId": "A" - }, - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "yarn.ClusterMetrics.NumUnhealthyNMs", - "refId": "B" - }, - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "yarn.ClusterMetrics.NumLostNMs", - "refId": "C" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Nodes", - "tooltip": { - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - }, - { - "aliasColors": {}, - "bars": false, - "datasource": null, - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "id": 4, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [ - { - "dashUri": "db/yarn-applications", - "dashboard": "YARN Applications", - "title": "YARN Applications", - "type": "dashboard" - } - ], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "yarn.QueueMetrics.Queue=root.AppsRunning", - "refId": "A" - }, - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "yarn.QueueMetrics.Queue=root.AppsPending", - "refId": "B" - }, - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "yarn.QueueMetrics.Queue=root.AppsFailed", - "refId": "C" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Apps", - "tooltip": { - "shared": true, - "value_type": "cumulative" - }, - "transparent": false, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - } - ], - "title": "New row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "aliasColors": {}, - "bars": false, - "datasource": null, - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "id": 9, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "aggregator": "avg", - "app": "resourcemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "yarn.QueueMetrics.Queue=root.AllocatedMB", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Cluster utilization", - "tooltip": { - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "mbytes", - "short" - ] - } - ], - "title": "New row" - } - ], - "time": { - "from": "now-3d", - "to": "now" - }, - "timepicker": { - "now": true, - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "templating": { - "list": [] - }, - "annotations": { - "list": [] - }, - "schemaVersion": 8, - "version": 22, - "links": [] -} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/b76a5f56/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-queues.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-queues.json b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-queues.json new file mode 100644 index 0000000..359efda --- /dev/null +++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-queues.json @@ -0,0 +1,1514 @@ +{ + "id": 14, + "title": "YARN - Queues", + "originalTitle": "YARN - Queues", + "tags": [ + "yarn" + ], + "style": "dark", + "timezone": "browser", + "editable": true, + "hideControls": false, + "sharedCrosshair": false, + "rows": [ + { + "title": "New row", + "height": "25px", + "editable": true, + "collapse": false, + "panels": [ + { + "title": "", + "error": false, + "span": 12, + "editable": true, + "type": "text", + "isNew": true, + "id": 25, + "mode": "html", + "content": "<h4 align=\"center\">Metrics to see the status of Queues on the YARN cluster. You can select, one, multiple or all queues using the dropdown on the left(above this message). </h4>", + "style": {}, + "links": [] + } + ] + }, + { + "collapse": true, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 1, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Apps Running", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AppsRunning", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AppsRunning", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Apps Running", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 11, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "avg", + "alias": "Apps Pending", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AppsPending", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AppsPending", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Apps Pending", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 6, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Apps Completed", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AppsCompleted", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AppsCompleted", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Apps Completed", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 12, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Apps Failed", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AppsFailed", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AppsFailed", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Apps Failed", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 13, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "avg", + "alias": "Apps Killed", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AppsKilled", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AppsKilled", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Apps Killed", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 14, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Apps Submitted", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AppsSubmitted", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AppsSubmitted", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Apps Submitted", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + } + ], + "showTitle": true, + "title": "Num Apps" + }, + { + "collapse": true, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 19, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Containers Running", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AggregateContainersAllocated", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AggregateContainersAllocated", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Containers Running", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 5, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Pending Containers", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.PendingContainers", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.PendingContainers", + "refId": "B" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Containers Pending", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 20, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Containers Reserved", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.default.ReservedContainers", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.default.ReservedContainers", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Containers Reserved", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 21, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Total Containers Allocated", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AggregateContainersAllocated", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AggregateContainersAllocated", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total Containers Allocated", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 22, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Total Node Local Containers Allocated", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AggregateNodeLocalContainersAllocated", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AggregateNodeLocalContainersAllocated", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total Node Local Containers Allocated", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 23, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Total Rack Local Containers Allocated", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AggregateRackLocalContainersAllocated", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AggregateRackLocalContainersAllocated", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total Rack Local Containers Allocated", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 24, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "avg", + "alias": "Total OffSwitch Containers Allocated", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AggregateOffSwitchContainersAllocated", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AggregateOffSwitchContainersAllocated", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total OffSwitch Containers Allocated", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + } + ], + "showTitle": true, + "title": "Num Containers" + }, + { + "collapse": true, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)", + "thresholdLine": false + }, + "id": 4, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Allocated Memory", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AllocatedMB", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AllocatedMB", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Allocated Memory", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "mbytes", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 15, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "avg", + "alias": "Pending Memory", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "yarn.QueueMetrics.Queue=root.PendingMB", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.PendingMB", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Pending Memory", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "mbytes", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 16, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Available Memory", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AvailableMB", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AvailableMB", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Available Memory", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "mbytes", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 17, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Reserved Memory", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.default.ReservedMB", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.default.ReservedMB", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Reserved Memory", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "mbytes", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 18, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Max AM Mem", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AMResourceLimitMB", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AMResourceLimitMB", + "refId": "A" + }, + { + "aggregator": "max", + "alias": "Used AM Mem", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.default.UsedAMResourceMB", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.default.UsedAMResourceMB", + "refId": "B" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory used by AM", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "mbytes", + "mbytes" + ] + } + ], + "showTitle": true, + "title": "Memory Utilization" + }, + { + "collapse": true, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 9, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Avg AM Container Allocation Delay", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "yarn.QueueMetrics.Queue=root.AppAttemptFirstContainerAllocationDelayAvgTime", + "precision": "", + "qmetric": "root.default", + "queue": "yarn.QueueMetrics.Queue=root.default.AppAttemptFirstContainerAllocationDelayAvgTime", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Avg AM Container Allocation Delay", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "ms", + "short" + ] + } + ], + "showTitle": true, + "title": "Container Allocation Delay" + } + ], + "time": { + "from": "2016-03-16T20:58:21.293Z", + "to": "2016-03-16T21:06:23.137Z" + }, + "timepicker": { + "now": true, + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "templating": { + "list": [ + { + "allFormat": "wildcard", + "current": { + "text": "root", + "value": "root", + "tags": [] + }, + "datasource": null, + "hideLabel": true, + "includeAll": true, + "multi": true, + "multiFormat": "glob", + "name": "q", + "options": [ + { + "text": "All", + "value": "*", + "selected": false + } + ], + "query": "yarnqueues", + "refresh": true, + "regex": "", + "type": "query" + } + ] + }, + "annotations": { + "list": [] + }, + "refresh": false, + "schemaVersion": 8, + "version": 81, + "links": [ + { + "asDropdown": true, + "icon": "external link", + "keepTime": true, + "tags": [ + "yarn" + ], + "title": "YARN Dashboards", + "type": "dashboards" + } + ] +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/b76a5f56/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-resourcemanagers.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-resourcemanagers.json b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-resourcemanagers.json new file mode 100644 index 0000000..1314f6f --- /dev/null +++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-resourcemanagers.json @@ -0,0 +1,935 @@ +{ + "id": 6, + "title": "YARN - ResourceManager", + "originalTitle": "YARN - ResourceManager", + "tags": [ + "yarn" + ], + "style": "dark", + "timezone": "browser", + "editable": true, + "hideControls": false, + "sharedCrosshair": false, + "rows": [ + { + "title": "New row", + "height": "25px", + "editable": true, + "collapse": false, + "panels": [ + { + "title": "", + "error": false, + "span": 12, + "editable": true, + "type": "text", + "isNew": true, + "id": 12, + "mode": "html", + "content": "<h4 align=\"center\">Metrics to see the status of ResourceManagers on the YARN cluster. Click on each row title to expand on demand to look at various metrics. </h4>", + "style": {}, + "links": [] + } + ] + }, + { + "collapse": false, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 1, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "RPC Avg Processing Time", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "rpc.rpc.RpcProcessingTimeAvgTime", + "precision": "", + "refId": "A", + "templatedHost": "" + }, + { + "aggregator": "max", + "alias": "RPC Avg Queue Time", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "rpc.rpc.RpcQueueTimeAvgTime", + "precision": "", + "refId": "B", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RPC Avg Processing / Queue Time", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "ms", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 9, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "RPC CallQueue Length", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "rpc.rpc.CallQueueLength", + "precision": "", + "refId": "A", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RPC Call Queue Length", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 2, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "RPC Slow Calls", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "rpc.rpc.RpcSlowCalls", + "precision": "", + "refId": "A", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RPC Slow calls", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + } + ], + "showTitle": true, + "title": "RPC Stats" + }, + { + "collapse": true, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 5, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Max HeapMem", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "jvm.JvmMetrics.MemHeapMaxM", + "precision": "", + "refId": "A", + "templatedHost": "" + }, + { + "aggregator": "max", + "alias": "Used HeapMem", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "jvm.JvmMetrics.MemHeapUsedM", + "precision": "", + "refId": "B", + "templatedHost": "" + }, + { + "aggregator": "max", + "alias": "Committed HeapMem", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "jvm.JvmMetrics.MemHeapCommittedM", + "precision": "", + "refId": "C", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Heap Mem Usage", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "mbytes", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 6, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Used NonHeapMem", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "jvm.JvmMetrics.MemNonHeapUsedM", + "precision": "", + "refId": "A", + "templatedHost": "" + }, + { + "aggregator": "max", + "alias": "Committed NonHeapMem", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "jvm.JvmMetrics.MemNonHeapCommittedM", + "precision": "", + "refId": "B", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "NonHeap Mem Usage", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "mbytes", + "short" + ] + } + ], + "showTitle": true, + "title": "Memory Usage" + }, + { + "collapse": true, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 3, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "GC Count", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "jvm.JvmMetrics.GcCount", + "precision": "", + "refId": "A", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "GC count", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 4, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "GC Time", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "jvm.JvmMetrics.GcTimeMillis", + "precision": "", + "refId": "A", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "GcTime", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "µs", + "short" + ] + } + ], + "showTitle": true, + "title": "GC Stats" + }, + { + "collapse": true, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 7, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "Log Errors", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "jvm.JvmMetrics.LogError", + "precision": "", + "refId": "A", + "templatedHost": "" + }, + { + "aggregator": "max", + "alias": "Log Fatal", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "jvm.JvmMetrics.LogFatal", + "precision": "", + "refId": "B", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Log Error/ Fatal", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + } + ], + "showTitle": true, + "title": "Log Errors" + }, + { + "collapse": true, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 10, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "RPC Authorization Failures", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "rpc.rpc.RpcAuthorizationFailures", + "precision": "", + "refId": "A", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RPC Authorization Failures", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": null, + "editable": true, + "error": false, + "fill": 1, + "grid": { + "leftLogBase": 1, + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2": null, + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "id": 11, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "max", + "alias": "RPC Authentication Failures", + "app": "resourcemanager", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "rpc.rpc.RpcAuthenticationFailures", + "precision": "", + "refId": "A", + "templatedHost": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RPC Authentication Failures", + "tooltip": { + "shared": false, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "short" + ] + } + ], + "showTitle": true, + "title": "Authorization & Authentication Failures" + } + ], + "time": { + "from": "now-24h", + "to": "now" + }, + "timepicker": { + "now": true, + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "templating": { + "list": [ + { + "allFormat": "glob", + "current": { + "text": "resourcemanager", + "value": "resourcemanager" + }, + "datasource": null, + "hideLabel": true, + "includeAll": false, + "multi": false, + "multiFormat": "glob", + "name": "components", + "options": [ + { + "selected": true, + "text": "resourcemanager", + "value": "resourcemanager" + } + ], + "query": "resourcemanager", + "refresh": false, + "type": "custom" + }, + { + "allFormat": "wildcard", + "current": { + "text": "All", + "value": "*" + }, + "datasource": null, + "includeAll": true, + "multi": true, + "multiFormat": "glob", + "name": "hosts", + "options": [ + { + "text": "All", + "value": "*", + "selected": true + } + ], + "query": "hosts", + "refresh": true, + "regex": "", + "type": "query" + } + ] + }, + "annotations": { + "list": [] + }, + "refresh": false, + "schemaVersion": 8, + "version": 39, + "links": [ + { + "asDropdown": true, + "icon": "external link", + "keepTime": true, + "tags": [ + "yarn" + ], + "title": "YARN Dashboards", + "type": "dashboards" + } + ] +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/b76a5f56/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-rm.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-rm.json b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-rm.json deleted file mode 100644 index bd11be9..0000000 --- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/grafana-yarn-rm.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "id": 6, - "title": "YARN ResourceManager", - "originalTitle": "YARN ResourceManager", - "tags": [], - "style": "dark", - "timezone": "browser", - "editable": true, - "hideControls": false, - "sharedCrosshair": false, - "rows": [ - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "aliasColors": {}, - "bars": false, - "datasource": "hcube", - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "id": 1, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 12, - "stack": false, - "steppedLine": false, - "targets": [ - { - "aggregator": "avg", - "app": "nodemanager", - "downsampleAggregator": "avg", - "errors": {}, - "metric": "", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Panel Title", - "tooltip": { - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - } - ], - "title": "Row" - } - ], - "time": { - "from": "now-6h", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "templating": { - "list": [] - }, - "annotations": { - "list": [] - }, - "schemaVersion": 8, - "version": 1, - "links": [] -} \ No newline at end of file