Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4A88F200C03 for ; Sat, 21 Jan 2017 18:47:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 49043160B42; Sat, 21 Jan 2017 17:47:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9EB9F160B4A for ; Sat, 21 Jan 2017 18:47:07 +0100 (CET) Received: (qmail 3939 invoked by uid 500); 21 Jan 2017 17:47:06 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 3930 invoked by uid 99); 21 Jan 2017 17:47:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jan 2017 17:47:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4D597DFC16; Sat, 21 Jan 2017 17:47:06 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: yusaku@apache.org To: commits@ambari.apache.org Message-Id: <831905e8191a4301895b68b8f0954a23@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-17592. Refine Grafana dashboard(s) for AmbariServer to include server specific metric graphs. . (Vivek Subramanian via yusaku) Date: Sat, 21 Jan 2017 17:47:06 +0000 (UTC) archived-at: Sat, 21 Jan 2017 17:47:09 -0000 Repository: ambari Updated Branches: refs/heads/branch-2.5 2a1ccf455 -> ed4eb7f3e AMBARI-17592. Refine Grafana dashboard(s) for AmbariServer to include server specific metric graphs. . (Vivek Subramanian via yusaku) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ed4eb7f3 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ed4eb7f3 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ed4eb7f3 Branch: refs/heads/branch-2.5 Commit: ed4eb7f3ec2705ee87bbee004277f06121eedd77 Parents: 2a1ccf4 Author: Yusaku Sako Authored: Sat Jan 21 09:45:04 2017 -0800 Committer: Yusaku Sako Committed: Sat Jan 21 09:46:57 2017 -0800 ---------------------------------------------------------------------- .../ambari-metrics/datasource.js | 4 + .../default/grafana-ambari-server-database.json | 902 +++++++++++++++++++ .../default/grafana-ambari-server-topn.json | 437 +++++++++ .../default/grafana-ambari-server.json | 73 +- 4 files changed, 1398 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/ed4eb7f3/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js ---------------------------------------------------------------------- diff --git a/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js b/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js index 207db16..a1e6164 100644 --- a/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js +++ b/ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js @@ -185,6 +185,10 @@ define([ } aliasSuffix = ''; } + if (data.appid.indexOf('ambari_server') === 0) { + alias = data.metricname; + aliasSuffix = ''; + } timeSeries = { target: alias + aliasSuffix, datapoints: [] http://git-wip-us.apache.org/repos/asf/ambari/blob/ed4eb7f3/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server-database.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server-database.json b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server-database.json new file mode 100644 index 0000000..aea7520 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server-database.json @@ -0,0 +1,902 @@ +{ + "id": null, + "title": "Ambari Server - Database", + "originalTitle": "Ambari Server - Database", + "tags": [ + "ambari" + ], + "style": "dark", + "timezone": "browser", + "editable": true, + "hideControls": false, + "sharedCrosshair": false, + "rows": [ + { + "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": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Counter.ReadAllQuery", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "rate" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total ReadAllQuery Counter (Rate)", + "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": 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": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Timer.ReadAllQuery", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "rate" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total ReadAllQuery Timer (Rate)", + "tooltip": { + "shared": true, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "ns", + "short" + ] + } + ], + "showTitle": true, + "title": "Total ReadAllQuery" + }, + { + "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": 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": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Counter.CacheHits", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "rate" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total Cache Hits (Rate)", + "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": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Counter.CacheMisses", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "rate" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total Cache Misses (Rate)", + "tooltip": { + "shared": true, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "ns", + "short" + ] + } + ], + "showTitle": true, + "title": "Total Cache Hits & Misses" + }, + { + "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": 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": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Timer.ObjectBuilding", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Timer.QueryPreparation", + "precision": "default", + "refId": "B", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Timer.SqlGeneration", + "precision": "default", + "refId": "C", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Timer.SqlPrepare", + "precision": "default", + "refId": "D", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Timer.StatementExecute", + "precision": "default", + "refId": "E", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "Timer.RowFetch", + "precision": "default", + "refId": "F", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Query Stages Timings", + "tooltip": { + "shared": true, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "ns", + "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": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "ReadAllQuery", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "ReadObjectQuery", + "precision": "default", + "refId": "B", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "InsertObjectQuery", + "precision": "default", + "refId": "C", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "DataModifyQuery", + "precision": "default", + "refId": "D", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "DoesExistQuery", + "precision": "default", + "refId": "E", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + }, + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "hosts": "", + "metric": "DirectReadQuery", + "precision": "default", + "refId": "F", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Query Types Avg Timings", + "tooltip": { + "shared": true, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "ns", + "short" + ] + } + ], + "showTitle": true, + "title": "Query" + }, + { + "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": 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": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "Counter.ReadAllQuery.HostRoleCommandEntity", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "rate" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Counter.ReadAllQuery.HostRoleCommandEntity (Rate)", + "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": 8, + "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": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "Timer.ReadAllQuery.HostRoleCommandEntity", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "rate" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Timer.ReadAllQuery.HostRoleCommandEntity (Rate)", + "tooltip": { + "shared": true, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "ns", + "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": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "ReadAllQuery.HostRoleCommandEntity", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "ReadAllQuery.HostRoleCommandEntity", + "tooltip": { + "shared": true, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "ns", + "short" + ] + } + ], + "showTitle": true, + "title": "HostRoleCommand Entity" + } + ], + "time": { + "from": "now-6h", + "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": "ambari_server", + "value": "ambari_server" + }, + "datasource": null, + "hideLabel": true, + "includeAll": false, + "multi": false, + "multiFormat": "glob", + "name": "components", + "options": [ + { + "selected": true, + "text": "ambari_server", + "value": "ambari_server" + } + ], + "query": "ambari_server", + "refresh": false, + "type": "custom" + }, + { + "allFormat": "glob", + "datasource": null, + "includeAll": false, + "multi": false, + "multiFormat": "glob", + "name": "hosts", + "options": [ + ], + "query": "hosts", + "refresh": true, + "type": "query" + } + ] + }, + "annotations": { + "list": [] + }, + "schemaVersion": 8, + "version": 14, + "links": [] +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/ed4eb7f3/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server-topn.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server-topn.json b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server-topn.json new file mode 100644 index 0000000..2c98e8d --- /dev/null +++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server-topn.json @@ -0,0 +1,437 @@ +{ + "id": null, + "title": "Ambari Server - TopN Entities", + "originalTitle": "Ambari Server - TopN Entities", + "tags": [ + "ambari" + ], + "style": "dark", + "timezone": "browser", + "editable": true, + "hideControls": false, + "sharedCrosshair": false, + "rows": [ + { + "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": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "Counter.ReadAllQuery.%", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "rate" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Top ReadAllQuery Counters", + "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": 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": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "Timer.ReadAllQuery.%", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "rate" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Top ReadAllQuery Timers", + "tooltip": { + "shared": true, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "ns", + "short" + ] + } + ], + "showTitle": true, + "title": "READ ALL QUERY" + }, + { + "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": 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": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "aggregator": "none", + "app": "ambari_server", + "downsampleAggregator": "avg", + "errors": {}, + "metric": "Counter.%.CacheMisses", + "precision": "default", + "refId": "A", + "seriesAggregator": "none", + "templatedHost": "", + "transform": "none" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Cache Misses", + "tooltip": { + "shared": true, + "value_type": "cumulative" + }, + "type": "graph", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "none", + "short" + ] + } + ], + "showTitle": false, + "title": "Cache Misses" + } + ], + "time": { + "from": "now-1h", + "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": "ambari_server", + "value": "ambari_server" + }, + "datasource": null, + "hideLabel": true, + "includeAll": false, + "multi": false, + "multiFormat": "glob", + "name": "components", + "options": [ + { + "selected": true, + "text": "ambari_server", + "value": "ambari_server" + } + ], + "query": "ambari_server", + "refresh": false, + "type": "custom" + }, + { + "allFormat": "glob", + "datasource": null, + "includeAll": false, + "multi": false, + "multiFormat": "glob", + "name": "hosts", + "options": [ + ], + "query": "hosts", + "refresh": true, + "type": "query" + }, + { + "allFormat": "glob", + "current": { + "text": "top", + "value": "top" + }, + "datasource": null, + "includeAll": false, + "label": "show", + "multi": false, + "multiFormat": "glob", + "name": "orientation", + "options": [ + { + "selected": true, + "text": "top", + "value": "top" + }, + { + "selected": false, + "text": "bottom", + "value": "bottom" + } + ], + "query": "top,bottom", + "refresh": false, + "type": "custom" + }, + { + "allFormat": "glob", + "current": { + "tags": [], + "text": "5", + "value": "5" + }, + "datasource": null, + "hideLabel": true, + "includeAll": false, + "multi": false, + "multiFormat": "glob", + "name": "instances", + "options": [ + { + "selected": false, + "text": "1", + "value": "1" + }, + { + "selected": true, + "text": "5", + "value": "5" + }, + { + "selected": false, + "text": "10", + "value": "10" + }, + { + "selected": false, + "text": "15", + "value": "15" + }, + { + "selected": false, + "text": "20", + "value": "20" + }, + { + "selected": false, + "text": "50", + "value": "50" + }, + { + "selected": false, + "text": "100", + "value": "100" + } + ], + "query": "1,5,10,15,20,50,100", + "refresh": false, + "type": "custom" + }, + { + "allFormat": "glob", + "current": { + "text": "max", + "value": "max" + }, + "datasource": null, + "includeAll": false, + "label": "aggregator", + "multi": false, + "multiFormat": "glob", + "name": "topagg", + "options": [ + { + "selected": true, + "text": "max", + "value": "max" + }, + { + "selected": false, + "text": "avg", + "value": "avg" + }, + { + "selected": false, + "text": "sum", + "value": "sum" + } + ], + "query": "max,avg,sum", + "refresh": false, + "type": "custom" + } + ] + }, + "annotations": { + "list": [] + }, + "schemaVersion": 8, + "version": 14, + "links": [] +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/ed4eb7f3/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server.json b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server.json index de66e83..2cdd6d9 100644 --- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server.json +++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server.json @@ -1,7 +1,7 @@ { "id": null, - "title": "Ambari Server", - "originalTitle": "Ambari Server", + "title": "Ambari Server - JVM", + "originalTitle": "Ambari Server - JVM", "tags": [ "ambari" ], @@ -86,7 +86,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "memory.heap.max", + "metric": "jvm.memory.heap.max", "precision": "default", "refId": "A", "seriesAggregator": "none", @@ -98,7 +98,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "memory.heap.used", + "metric": "jvm.memory.heap.used", "precision": "default", "refId": "B", "seriesAggregator": "none", @@ -110,7 +110,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "memory.heap.committed", + "metric": "jvm.memory.heap.committed", "precision": "default", "refId": "C", "seriesAggregator": "none", @@ -181,7 +181,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "memory.non-heap.max", + "metric": "jvm.memory.non-heap.max", "precision": "default", "refId": "A", "seriesAggregator": "none", @@ -193,7 +193,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "memory.non-heap.used", + "metric": "jvm.memory.non-heap.used", "precision": "default", "refId": "B", "seriesAggregator": "none", @@ -205,7 +205,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "memory.non-heap.committed", + "metric": "jvm.memory.non-heap.committed", "precision": "default", "refId": "C", "seriesAggregator": "none", @@ -284,7 +284,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "gc.ParNew.count", + "metric": "jvm.gc.ParNew.count", "precision": "default", "refId": "A", "seriesAggregator": "none", @@ -354,7 +354,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "gc.ParNew.time", + "metric": "jvm.gc.ParNew.time", "precision": "default", "refId": "A", "seriesAggregator": "none", @@ -424,7 +424,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "gc.ConcurrentMarkSweep.count", + "metric": "jvm.gc.ConcurrentMarkSweep.count", "precision": "default", "refId": "A", "seriesAggregator": "none", @@ -494,7 +494,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "gc.ConcurrentMarkSweep.time", + "metric": "jvm.gc.ConcurrentMarkSweep.time", "precision": "default", "refId": "A", "seriesAggregator": "none", @@ -574,7 +574,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "threads.count", + "metric": "jvm.threads.count", "precision": "default", "refId": "A", "seriesAggregator": "none", @@ -586,7 +586,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "threads.daemon.count", + "metric": "jvm.threads.daemon.count", "precision": "default", "refId": "B", "seriesAggregator": "none", @@ -598,7 +598,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "threads.deadlock.count", + "metric": "jvm.threads.deadlock.count", "precision": "default", "refId": "C", "seriesAggregator": "none", @@ -610,7 +610,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "threads.blocked.count", + "metric": "jvm.threads.blocked.count", "precision": "default", "refId": "D", "seriesAggregator": "none", @@ -622,7 +622,7 @@ "app": "ambari_server", "downsampleAggregator": "avg", "errors": {}, - "metric": "threads.runnable.count", + "metric": "jvm.threads.runnable.count", "precision": "default", "refId": "E", "seriesAggregator": "none", @@ -679,7 +679,44 @@ ] }, "templating": { - "list": [] + "list": [ + { + "allFormat": "glob", + "current": { + "text": "ambari_server", + "value": "ambari_server" + }, + "datasource": null, + "hideLabel": true, + "includeAll": false, + "multi": false, + "multiFormat": "glob", + "name": "components", + "options": [ + { + "selected": true, + "text": "ambari_server", + "value": "ambari_server" + } + ], + "query": "ambari_server", + "refresh": false, + "type": "custom" + }, + { + "allFormat": "glob", + "datasource": null, + "includeAll": false, + "multi": false, + "multiFormat": "glob", + "name": "hosts", + "options": [ + ], + "query": "hosts", + "refresh": true, + "type": "query" + } + ] }, "annotations": { "list": []