ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-20104) Kafka Controller metrics are not being displayed.
Date Tue, 21 Feb 2017 22:40:44 GMT
Aravindan Vijayan created AMBARI-20104:
------------------------------------------

             Summary: Kafka Controller metrics are not being displayed.
                 Key: AMBARI-20104
                 URL: https://issues.apache.org/jira/browse/AMBARI-20104
             Project: Ambari
          Issue Type: Bug
          Components: ambari-metrics
    Affects Versions: 2.5.0
            Reporter: Aravindan Vijayan
            Assignee: Aravindan Vijayan
            Priority: Critical
             Fix For: 2.5.0


Kafka metrics fetched through rest Api's are not giving results .
1. /api/v1/clusters/cl1/services/KAFKA/components/KAFKA_BROKER?fields=metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/1MinuteRate[1486990387,1486993987,15],metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/1MinuteRate[1486990387,1486993987,15],metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/1MinuteRate[1486990387,1486993987,15]
{code}
{
  "href" : "<>/api/v1/clusters/cl1/services/KAFKA/components/KAFKA_BROKER?fields=metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/1MinuteRate[1486990387,1486993987,15],metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/1MinuteRate[1486990387,1486993987,15],metrics/kafka/server/BrokerTopicMetrics/AllTopicsMessagesInPerSec/1MinuteRate[1486990387,1486993987,15]",
  "ServiceComponentInfo" : {
    "cluster_name" : "cl1",
    "component_name" : "KAFKA_BROKER",
    "service_name" : "KAFKA"
  }
}
{code}

2. /api/v1/clusters/cl1/services/KAFKA/components/KAFKA_BROKER?fields=metrics/kafka/controller/KafkaController/ActiveControllerCount[1486990432,1486994032,15]
{code}
{
  "href" : "https://<>/api/v1/clusters/cl1/services/KAFKA/components/KAFKA_BROKER?fields=metrics/kafka/controller/KafkaController/ActiveControllerCount[1486990432,1486994032,15]",
  "ServiceComponentInfo" : {
    "cluster_name" : "cl1",
    "component_name" : "KAFKA_BROKER",
    "service_name" : "KAFKA"
  }
}
{code}
similarly with

3. /api/v1/clusters/cl1/services/KAFKA/components/KAFKA_BROKER?fields=metrics/kafka/controller/ControllerStats/LeaderElectionRateAndTimeMs/1MinuteRate[1486990476,1486994076,15],metrics/kafka/controller/ControllerStats/UncleanLeaderElectionsPerSec/1MinuteRate[1486990476,1486994076,15]

4. /api/v1/clusters/cl1/services/KAFKA/components/KAFKA_BROKER?fields=metrics/kafka/server/ReplicaManager/PartitionCount[1486990522,1486994122,15],metrics/kafka/server/ReplicaManager/UnderReplicatedPartitions[1486990522,1486994122,15],metrics/kafka/server/BrokerTopicMetrics/ReplicaManager/LeaderCount[1486990522,1486994122,15]

This can also be seen in the UI
  !Screen Shot 2017-02-13 at 7.36.23 PM.png|thumbnail! 




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message