Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 50abb71e5 -> aebc8508c


AMBARI-18485 - Kafka Widgets show incorrect values - Ambari Web (prajwal)


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

Branch: refs/heads/branch-2.5
Commit: aebc8508cceb9dda975a07901ab9615d2a6c93b1
Parents: 50abb71
Author: Prajwal Rao <[email protected]>
Authored: Thu Sep 29 12:42:07 2016 -0700
Committer: Prajwal Rao <[email protected]>
Committed: Thu Sep 29 12:42:07 2016 -0700

----------------------------------------------------------------------
 .../common-services/KAFKA/0.9.0/widgets.json      | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/aebc8508/ambari-server/src/main/resources/common-services/KAFKA/0.9.0/widgets.json
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/KAFKA/0.9.0/widgets.json 
b/ambari-server/src/main/resources/common-services/KAFKA/0.9.0/widgets.json
index 7237236..d513075 100644
--- a/ambari-server/src/main/resources/common-services/KAFKA/0.9.0/widgets.json
+++ b/ambari-server/src/main/resources/common-services/KAFKA/0.9.0/widgets.json
@@ -56,8 +56,8 @@
           "is_visible": true,
           "metrics": [
             {
-              "name": "kafka.controller.KafkaController.ActiveControllerCount",
-              "metric_path": 
"metrics/kafka/controller/KafkaController/ActiveControllerCount",
+              "name": 
"kafka.controller.KafkaController.ActiveControllerCount._sum",
+              "metric_path": 
"metrics/kafka/controller/KafkaController/ActiveControllerCount._sum",
               "service_name": "KAFKA",
               "component_name": "KAFKA_BROKER"
             }
@@ -65,7 +65,7 @@
           "values": [
             {
               "name": "Active Controller Count",
-              "value": 
"${kafka.controller.KafkaController.ActiveControllerCount}"
+              "value": 
"${kafka.controller.KafkaController.ActiveControllerCount._sum}"
             }
           ],
           "properties": {
@@ -138,8 +138,8 @@
           "is_visible": true,
           "metrics": [
             {
-              "name": "kafka.server.ReplicaManager.PartitionCount",
-              "metric_path": 
"metrics/kafka/server/ReplicaManager/PartitionCount",
+              "name": "kafka.server.ReplicaManager.PartitionCount._sum",
+              "metric_path": 
"metrics/kafka/server/ReplicaManager/PartitionCount._sum",
               "service_name": "KAFKA",
               "component_name": "KAFKA_BROKER"
             },
@@ -150,8 +150,8 @@
               "component_name": "KAFKA_BROKER"
             },
             {
-              "name": "kafka.server.ReplicaManager.LeaderCount",
-              "metric_path": "metrics/kafka/server/ReplicaManager/LeaderCount",
+              "name": "kafka.server.ReplicaManager.LeaderCount._sum",
+              "metric_path": 
"metrics/kafka/server/ReplicaManager/LeaderCount._sum",
               "service_name": "KAFKA",
               "component_name": "KAFKA_BROKER"
             }
@@ -159,7 +159,7 @@
           "values": [
             {
               "name": "Partitions count",
-              "value": "${kafka.server.ReplicaManager.PartitionCount}"
+              "value": "${kafka.server.ReplicaManager.PartitionCount._sum}"
             },
             {
               "name": "Under Replicated Partitions",
@@ -167,7 +167,7 @@
             },
             {
               "name": "Leader Count",
-              "value": "${kafka.server.ReplicaManager.LeaderCount}"
+              "value": "${kafka.server.ReplicaManager.LeaderCount._sum}"
             }
           ],
           "properties": {

Reply via email to