You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2016/03/17 20:21:52 UTC

ambari git commit: AMBARI-15472. Appending Grafana dashboard tags. (Prajwal Rao via swagle)

Repository: ambari
Updated Branches:
  refs/heads/trunk 95798ad96 -> 33eeec800


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/33eeec80
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/33eeec80
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/33eeec80

Branch: refs/heads/trunk
Commit: 33eeec80051601b7931a186cff1ee405fc64e179
Parents: 95798ad
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Thu Mar 17 12:21:34 2016 -0700
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Thu Mar 17 12:21:40 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/33eeec80/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 ]