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-17600. System boottime metric is not being collected by AMS. Wrong metricname. (swagle)
Date Tue, 12 Jul 2016 22:47:33 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 d9a581697 -> 1c9a7c0ab


AMBARI-17600. System boottime metric is not being collected by AMS. Wrong metricname. (swagle)


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

Branch: refs/heads/branch-2.4
Commit: 1c9a7c0ab9783538eaccfead6cf2b836690d08ef
Parents: d9a5816
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Tue Jul 12 15:47:30 2016 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Tue Jul 12 15:47:30 2016 -0700

----------------------------------------------------------------------
 .../src/main/python/core/host_info.py                              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1c9a7c0a/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py
b/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py
index 5e88412..9df2366 100644
--- a/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py
+++ b/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py
@@ -67,7 +67,7 @@ class HostInfo():
       'cpu_intr': cpu_times.irq if hasattr(cpu_times, 'irq') else 0,
       'cpu_sintr': cpu_times.softirq if hasattr(cpu_times, 'softirq') else 0,
       'cpu_steal': cpu_times.steal if hasattr(cpu_times, 'steal') else 0,
-      'boot_time': long(boot_time) if boot_time else 0
+      'boottime': long(boot_time) if boot_time else 0
     }
     if platform.system() != "Windows":
       load_avg = os.getloadavg()


Mime
View raw message