ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject ambari git commit: AMBARI-15472. Appending Grafana dashboard tags. (Prajwal Rao via swagle)
Date Thu, 17 Mar 2016 19:22:18 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 9df79e5ff -> 0244d233a


AMBARI-15472. Appending Grafana dashboard tags. (Prajwal Rao via swagle)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0244d233
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0244d233
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0244d233

Branch: refs/heads/branch-2.2
Commit: 0244d233a6999e7ec45a60218c792546229cd468
Parents: 9df79e5
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Thu Mar 17 12:22:12 2016 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Thu Mar 17 12:22:12 2016 -0700

----------------------------------------------------------------------
 .../AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0244d233/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py
b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py
index 13a2c26..012bdcb 100644
--- a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py
+++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py
@@ -284,7 +284,8 @@ def create_ams_dashboards():
           dashboard_def['id'] = None
         # Set correct tags
         if 'tags' in dashboard_def:
-          dashboard_def['tags'].append('builtin', version)
+          dashboard_def['tags'].append('builtin')
+          dashboard_def['tags'].append(version)
         else:
           dashboard_def['tags'] = [ 'builtin', version ]
 


Mime
View raw message