You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by am...@apache.org on 2018/01/09 14:03:25 UTC

[ambari] branch branch-feature-AMBARI-22008-isilon updated: AMBARI-22339. Metrics for OneFS mpack (amagyar)

This is an automated email from the ASF dual-hosted git repository.

amagyar pushed a commit to branch branch-feature-AMBARI-22008-isilon
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-feature-AMBARI-22008-isilon by this push:
     new b300e01  AMBARI-22339. Metrics for OneFS mpack (amagyar)
b300e01 is described below

commit b300e014d2411f7d3bbf73f814fe7d1aa7fd5609
Author: Attila Magyar <am...@hortonworks.com>
AuthorDate: Tue Jan 9 14:25:32 2018 +0100

    AMBARI-22339. Metrics for OneFS mpack (amagyar)
---
 .../addon-services/ONEFS/1.0.0/metrics.json        |  6 ++
 .../addon-services/ONEFS/1.0.0/widgets.json        | 65 ++++++----------------
 2 files changed, 24 insertions(+), 47 deletions(-)

diff --git a/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/metrics.json b/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/metrics.json
index 30a9f5c..daba529 100644
--- a/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/metrics.json
+++ b/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/metrics.json
@@ -193,6 +193,12 @@
               "metric" : "disk_free",
               "amsHostMetric" : true
             },
+            "metrics/disk/disk_percent" : {
+              "temporal" : true,
+              "pointInTime" : true,
+              "metric" : "disk_percent",
+              "amsHostMetric" : true
+            },
             "metrics/disk/read_count" : {
               "temporal" : true,
               "pointInTime" : true,
diff --git a/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/widgets.json b/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/widgets.json
index fe2c52e..95aed22 100644
--- a/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/widgets.json
+++ b/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/widgets.json
@@ -6,67 +6,38 @@
       "section_name": "ONEFS_SUMMARY",
       "widgetLayoutInfo": [
         {
-          "widget_name": "NameNode GC count",
-          "description": "Count of total garbage collections and count of major type garbage collections of the JVM.",
-          "widget_type": "GRAPH",
+          "widget_name": "OneFS Host Free Disk Space",
+          "description": "Percentage of available space on OneFS host",
+          "widget_type": "GAUGE",
           "is_visible": true,
           "metrics": [
             {
-              "name": "jvm.JvmMetrics.GcCount._rate",
-              "metric_path": "metrics/jvm/gcCount._rate",
+              "name": "disk_free",
+              "metric_path": "metrics/disk/disk_free",
               "service_name": "ONEFS",
               "component_name": "ONEFS_CLIENT"
             },
             {
-              "name": "jvm.JvmMetrics.GcCountConcurrentMarkSweep._rate",
-              "metric_path": "metrics/jvm/GcCountConcurrentMarkSweep._rate",
+              "name": "disk_total",
+              "metric_path": "metrics/disk/disk_total",
               "service_name": "ONEFS",
               "component_name": "ONEFS_CLIENT"
             }
           ],
           "values": [
             {
-              "name": "GC total count",
-              "value": "${jvm.JvmMetrics.GcCount._rate}"
-            },
-            {
-              "name": "GC count of type major collection",
-              "value": "${jvm.JvmMetrics.GcCountConcurrentMarkSweep._rate}"
+              "name": "OneFS Host Disk Free Space",
+              "value": "${disk_free/disk_total}"
             }
           ],
           "properties": {
-            "graph_type": "LINE",
-            "time_range": "1"
-          }
-        },
-        {
-          "widget_name": "NameNode GC time",
-          "description": "Total time taken by major type garbage collections in milliseconds.",
-          "widget_type": "GRAPH",
-          "is_visible": true,
-          "metrics": [
-            {
-              "name": "jvm.JvmMetrics.GcTimeMillisConcurrentMarkSweep._rate",
-              "metric_path": "metrics/jvm/JvmMetrics/GcTimeMillisConcurrentMarkSweep._rate",
-              "service_name": "ONEFS",
-              "component_name": "ONEFS_CLIENT"
-            }
-          ],
-          "values": [
-            {
-              "name": "GC time in major collection",
-              "value": "${jvm.JvmMetrics.GcTimeMillisConcurrentMarkSweep._rate}"
-            }
-          ],
-          "properties": {
-            "display_unit": "ms",
-            "graph_type": "LINE",
-            "time_range": "1"
+            "warning_threshold": "0.25",
+            "error_threshold": "0.1"
           }
         },
         {
-          "widget_name": "NameNode Heap",
-          "description": "Heap memory committed and Heap memory used with respect to time.",
+          "widget_name": "OneFS NameNode Memory",
+          "description": "The sum of the current memory allocated by the HDFS process and the sum of the memory limit that the HDFS process can allocate.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -85,11 +56,11 @@
           ],
           "values": [
             {
-              "name": "JVM heap committed",
+              "name": "Heap committed",
               "value": "${jvm.JvmMetrics.MemHeapCommittedM}"
             },
             {
-              "name": "JVM heap used",
+              "name": "Heap used",
               "value": "${jvm.JvmMetrics.MemHeapUsedM}"
             }
           ],
@@ -100,8 +71,8 @@
           }
         },
         {
-          "widget_name": "NameNode Host Load",
-          "description": "Percentage of CPU and Memory resources being consumed on NameNode host.",
+          "widget_name": "OneFS Host Load",
+          "description": "Percentage of CPU and Memory resources being consumed on OneFS host.",
           "widget_type": "GRAPH",
           "is_visible": true,
           "metrics": [
@@ -167,4 +138,4 @@
       ]
     }
   ]
-}
\ No newline at end of file
+}

-- 
To stop receiving notification emails like this one, please contact
['"commits@ambari.apache.org" <co...@ambari.apache.org>'].