Repository: ambari Updated Branches: refs/heads/branch-2.4 2a472bb41 -> 7bb0573a3
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/7bb0573a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7bb0573a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7bb0573a Branch: refs/heads/branch-2.4 Commit: 7bb0573a3b7a2c8aaadc551b07948f8d6080ac6f Parents: 2a472bb Author: Prajwal Rao <[email protected]> Authored: Thu Sep 29 12:40:09 2016 -0700 Committer: Prajwal Rao <[email protected]> Committed: Thu Sep 29 12:40:09 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/7bb0573a/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": {
