[ 
https://issues.apache.org/jira/browse/AMBARI-21600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

JaySenSharma updated AMBARI-21600:
----------------------------------
    Description: 
- In Ambari 2.5.1 when we open the Grafana Dashboard then all other kafka 
graphs are working except "Kafka Topic". It shows "No Datapoint".

- While debugging using 'Developer Console' we noticed that it is appending 
*'NaNundefined'*  before the *"._avg&appId"*

*Example:*
{code}
http://amb25101:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=kafka.server.BrokerTopicMetrics.BytesInPerSec.topic.TestTopic.countNaNundefined._avg&appId=kafka_broker&startTime=1501211592&endTime=1501233192
{code}

Where as ideally it should be as following:
{code}
http://amb25101:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=kafka.server.BrokerTopicMetrics.BytesInPerSec.topic.TestTopic.count._avg&appId=kafka_broker&startTime=1501211592&endTime=1501233192
{code}


  was:
- In Ambari 2.5.1 when we open the Grafana Dashboard then all other kafka 
graphs are working except "Kafka Topic".

- While debugging using 'Developer Console' we noticed that it is appending 
*'NaNundefined'*  before the *"._avg&appId"*

*Example:*
{code}
http://amb25101:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=kafka.server.BrokerTopicMetrics.BytesInPerSec.topic.TestTopic.countNaNundefined._avg&appId=kafka_broker&startTime=1501211592&endTime=1501233192
{code}

Where as ideally it should be as following:
{code}
http://amb25101:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=kafka.server.BrokerTopicMetrics.BytesInPerSec.topic.TestTopic.count._avg&appId=kafka_broker&startTime=1501211592&endTime=1501233192
{code}



> Grafana Kafka-Topic dashboard is forming incorrect url 'NaNundefined'  
> appended
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-21600
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21600
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: trunk, 2.5.1
>         Environment: all
>            Reporter: JaySenSharma
>            Assignee: JaySenSharma
>
> - In Ambari 2.5.1 when we open the Grafana Dashboard then all other kafka 
> graphs are working except "Kafka Topic". It shows "No Datapoint".
> - While debugging using 'Developer Console' we noticed that it is appending 
> *'NaNundefined'*  before the *"._avg&appId"*
> *Example:*
> {code}
> http://amb25101:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=kafka.server.BrokerTopicMetrics.BytesInPerSec.topic.TestTopic.countNaNundefined._avg&appId=kafka_broker&startTime=1501211592&endTime=1501233192
> {code}
> Where as ideally it should be as following:
> {code}
> http://amb25101:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=kafka.server.BrokerTopicMetrics.BytesInPerSec.topic.TestTopic.count._avg&appId=kafka_broker&startTime=1501211592&endTime=1501233192
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to