ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject [25/30] ambari git commit: AMBARI-10196. Expose metadata for the metrics via API. (swagle)
Date Wed, 25 Mar 2015 02:21:29 GMT
http://git-wip-us.apache.org/repos/asf/ambari/blob/d83c14c4/ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/metrics.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/metrics.json
b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/metrics.json
index 826c0e8..58e4ecb 100644
--- a/ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/metrics.json
+++ b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/metrics.json
@@ -4,256 +4,258 @@
       {
         "type": "ganglia",
         "metrics": {
-          "metrics/jvm/uptime":{
-            "metric":"jvm.uptime",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/jvm/heap_usage":{
-            "metric":"jvm.heap_usage",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/jvm/non_heap_usage":{
-            "metric":"jvm.non_heap_usage",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/jvm/thread-states/runnable":{
-            "metric":"jvm.thread-states.runnable",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/jvm/thread-states/blocked":{
-            "metric":"jvm.thread-states.blocked",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/jvm/thread-states/timed_waiting":{
-            "metric":"jvm.thread-states.timed_waiting",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/jvm/thread-states/terminated":{
-            "metric":"jvm.thread-states.terminated",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/jvm/thread_count":{
-            "metric":"jvm.thread_count",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/jvm/daemon_thread_count":{
-            "metric":"jvm.daemon_thread_count",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/1MinuteRate":
{
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsMessagesInPerSec.1MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/5MinuteRate":
{
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsMessagesInPerSec.5MinuteRate",
-            "pointInTime": false,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/15MinuteRate":
{
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsMessagesInPerSec.15MinuteRate",
-            "pointInTime": false,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/meanRate": {
-            "metric": "kafka.server.BrokerTopicMetrics/AllTopicsMessagesInPerSec/meanRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/count": {
-            "metric": "kafka.server.BrokerTopicMetrics/AllTopicsMessagesInPerSec.counte",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/1MinuteRate": {
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.1MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/5MinuteRate": {
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.5MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/15MinuteRate":
{
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.15MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/meanRate": {
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.meanRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/count": {
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.count",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/1MinuteRate":
{
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.1MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/5MinuteRate":
{
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.5MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/15MinuteRate":
{
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.15MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/meanRate": {
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.meanRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/count": {
-            "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.count",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/KafkaController/ActiveControllerCount": {
-            "metric": "kafka.controller.KafkaController.ActiveControllerCount",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/meanRate": {
-            "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.meanRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/1MinuteRate": {
-            "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.1MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/5MinuteRate": {
-            "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.1MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/15MinuteRate": {
-            "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.15MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/count": {
-            "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.count",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/meanRate":
{
-            "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.meanRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/1MinuteRate":
{
-            "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.1MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/5MinuteRate":
{
-            "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.5MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/15MinuteRate":
{
-            "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.15MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/count": {
-            "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.count",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/ControllerStats/UncleanLeaderElectionsPerSec/1MinuteRate":
{
-            "metric": "kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.1MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/ControllerStats/UncleanLeaderElectionsPerSec/5MinuteRate":
{
-            "metric": "kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.5MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/ControllerStats/UncleanLeaderElectionsPerSec/15MinuteRate":
{
-            "metric": "kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.15MinuteRate",
-            "pointInTime": true,
-            "temporal": true
-          },
-          "metrics/kafka/controller/ControllerStats/OfflinePartitionsCount": {
+          "default": {
+            "metrics/jvm/uptime": {
+              "metric": "jvm.uptime",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/jvm/heap_usage": {
+              "metric": "jvm.heap_usage",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/jvm/non_heap_usage": {
+              "metric": "jvm.non_heap_usage",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/jvm/thread-states/runnable": {
+              "metric": "jvm.thread-states.runnable",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/jvm/thread-states/blocked": {
+              "metric": "jvm.thread-states.blocked",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/jvm/thread-states/timed_waiting": {
+              "metric": "jvm.thread-states.timed_waiting",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/jvm/thread-states/terminated": {
+              "metric": "jvm.thread-states.terminated",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/jvm/thread_count": {
+              "metric": "jvm.thread_count",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/jvm/daemon_thread_count": {
+              "metric": "jvm.daemon_thread_count",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/1MinuteRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsMessagesInPerSec.1MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/5MinuteRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsMessagesInPerSec.5MinuteRate",
+              "pointInTime": false,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/15MinuteRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsMessagesInPerSec.15MinuteRate",
+              "pointInTime": false,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/meanRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics/AllTopicsMessagesInPerSec/meanRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/count": {
+              "metric": "kafka.server.BrokerTopicMetrics/AllTopicsMessagesInPerSec.counte",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/1MinuteRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.1MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/5MinuteRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.5MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/15MinuteRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.15MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/meanRate": {
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.meanRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/count": {
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesInPerSec.count",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/1MinuteRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.1MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/5MinuteRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.5MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/15MinuteRate":
{
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.15MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/meanRate": {
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.meanRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/count": {
+              "metric": "kafka.server.BrokerTopicMetrics.AllTopicsBytesOutPerSec.count",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/KafkaController/ActiveControllerCount": {
+              "metric": "kafka.controller.KafkaController.ActiveControllerCount",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/meanRate": {
+              "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.meanRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/1MinuteRate": {
+              "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.1MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/5MinuteRate": {
+              "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.1MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/15MinuteRate": {
+              "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.15MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/count": {
+              "metric": "kafka.log.LogFlushStats.LogFlushRateAndTimeMs.count",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/meanRate":
{
+              "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.meanRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/1MinuteRate":
{
+              "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.1MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/5MinuteRate":
{
+              "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.5MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/15MinuteRate":
{
+              "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.15MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/count":
{
+              "metric": "kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.count",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/ControllerStats/UncleanLeaderElectionsPerSec/1MinuteRate":
{
+              "metric": "kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.1MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/ControllerStats/UncleanLeaderElectionsPerSec/5MinuteRate":
{
+              "metric": "kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.5MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/ControllerStats/UncleanLeaderElectionsPerSec/15MinuteRate":
{
+              "metric": "kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.15MinuteRate",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/controller/ControllerStats/OfflinePartitionsCount": {
               "metric": "kafka.controller.ControllerStats.OfflinePartitionsCount",
-              "pointInTime" :true,
+              "pointInTime": true,
               "temporal": true
-          },
-          "metrics/kafka/server/ReplicaManager/PartitionCount": {
+            },
+            "metrics/kafka/server/ReplicaManager/PartitionCount": {
               "metric": "kafka.server.ReplicaManager.PartitionCount",
-              "pointInTime" : true,
+              "pointInTime": true,
               "temporal": true
-          },
-          "metrics/kafka/server/ReplicaManager/LeaderCount": {
+            },
+            "metrics/kafka/server/ReplicaManager/LeaderCount": {
               "metric": "kafka.server.ReplicaManager.LeaderCount",
-              "pointInTime" : true,
+              "pointInTime": true,
               "temporal": true
-          },
-          "metrics/kafka/server/ReplicaManager/UnderReplicatedPartitions": {
+            },
+            "metrics/kafka/server/ReplicaManager/UnderReplicatedPartitions": {
               "metric": "kafka.server.ReplicaManager.UnderReplicatedPartitions",
-              "pointInTime" :true,
+              "pointInTime": true,
               "temporal": true
-          },
-          "metrics/kafka/server/ReplicaManager/ISRShrinksPerSec": {
+            },
+            "metrics/kafka/server/ReplicaManager/ISRShrinksPerSec": {
               "metric": "kafka.server.ReplicaManager.ISRShrinksPerSec",
-              "pointInTime" : true,
+              "pointInTime": true,
               "temporal": true
-          },
-          "metrics/kafka/server/ReplicaManager/ISRExpandsPerSec": {
+            },
+            "metrics/kafka/server/ReplicaManager/ISRExpandsPerSec": {
               "metric": "kafka.server.ReplicaManager.ISRExpandsPerSec",
-              "pointInTime" : true,
+              "pointInTime": true,
               "temporal": true
-          },
+            },
 
-          "metrics/kafka/server/ReplicaFetcherManager/Replica-MaxLag": {
+            "metrics/kafka/server/ReplicaFetcherManager/Replica-MaxLag": {
               "metric": "kafka.server.ReplicaFetcherManager.Replica-MaxLag",
-              "pointInTime" : true,
+              "pointInTime": true,
               "temporal": true
-          },
-          "metrics/kafka/server/ProducerRequestPurgatory/PurgatorySize": {
+            },
+            "metrics/kafka/server/ProducerRequestPurgatory/PurgatorySize": {
               "metric": "kafka.server.ProducerRequestPurgatory.PurgatorySize",
-              "pointInTime" : true,
+              "pointInTime": true,
               "temporal": true
-          },
-          "metrics/kafka/server/FetchRequestPurgatory/PurgatorySize": {
+            },
+            "metrics/kafka/server/FetchRequestPurgatory/PurgatorySize": {
               "metric": "kafka.server.FetchRequestPurgatory.PurgatorySize",
-              "pointInTime" : true,
-              "temporal": true
-          },
-          "metrics/kafka/cluster/Partition/$1-UnderReplicated":{
-            "metric":"kafka.cluster.Partition.(\\w+)-UnderReplicated",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/kafka/consumer/ConsumerFetcherManager/$1-MaxLag":{
-            "metric":"kafka.consumer.ConsumerFetcherManager.(\\w+)-MaxLag",
-            "pointInTime":true,
-            "temporal":true
-          },
-          "metrics/kafka/consumer/ConsumerFetcherManager/$1-MinFetch":{
-            "metric":"kafka.consumer.ConsumerFetcherManager.(\\w+)-MinFetch",
-            "pointInTime":true,
-            "temporal":true
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/cluster/Partition/$1-UnderReplicated": {
+              "metric": "kafka.cluster.Partition.(\\w+)-UnderReplicated",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/consumer/ConsumerFetcherManager/$1-MaxLag": {
+              "metric": "kafka.consumer.ConsumerFetcherManager.(\\w+)-MaxLag",
+              "pointInTime": true,
+              "temporal": true
+            },
+            "metrics/kafka/consumer/ConsumerFetcherManager/$1-MinFetch": {
+              "metric": "kafka.consumer.ConsumerFetcherManager.(\\w+)-MinFetch",
+              "pointInTime": true,
+              "temporal": true
+            }
           }
         }
       }

http://git-wip-us.apache.org/repos/asf/ambari/blob/d83c14c4/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metrics.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metrics.json
b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metrics.json
index 3399f4a..3c746f7 100644
--- a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metrics.json
+++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metrics.json
@@ -9,7 +9,7 @@
           "port_property_name": "storm.port",
           "protocol": "http"
         },
-        "metrics": {
+        "metrics": {"default":{
           "metrics/api/cluster/summary/tasks.total":
           {
             "metric": "/api/cluster/summary##tasks.total",
@@ -51,7 +51,7 @@
             "pointInTime": true,
             "temporal": false
           }
-        }
+        }}
       }
     ],
     "HostComponent": [
@@ -63,7 +63,7 @@
           "port_property_name": "storm.port",
           "protocol": "http"
         },
-        "metrics": {
+        "metrics": {"default":{
           "metrics/api/cluster/summary/tasks.total":
           {
             "metric": "/api/cluster/summary##tasks.total",
@@ -105,7 +105,7 @@
             "pointInTime": true,
             "temporal": false
           }
-        }
+        }}
       }
     ]
   },
@@ -113,7 +113,7 @@
     "Component": [
       {
         "type": "ganglia",
-        "metrics": {
+        "metrics": {"default":{
           "metrics/boottime": {
             "metric": "boottime",
             "pointInTime": true,
@@ -275,13 +275,13 @@
             "pointInTime": true,
             "temporal": true
           }
-        }
+        }}
       }
     ],
     "HostComponent": [
       {
         "type": "ganglia",
-        "metrics": {
+        "metrics": {"default":{
           "metrics/boottime": {
             "metric": "boottime",
             "pointInTime": true,
@@ -408,7 +408,7 @@
             "temporal": true
           }
 
-        }
+        }}
       }
     ]
   },


Mime
View raw message