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/07/12 22:46:58 UTC

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

Repository: ambari
Updated Branches:
  refs/heads/trunk 287df6499 -> df8bc26ae


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

Branch: refs/heads/trunk
Commit: df8bc26aef0dde66c5fd1b18a6ce8fa7f3871453
Parents: 287df64
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Tue Jul 12 15:44:03 2016 -0700
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Tue Jul 12 15:44:03 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/df8bc26a/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()