[ 
https://issues.apache.org/jira/browse/AMBARI-23228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17843345#comment-17843345
 ] 

Sandeep Kumar commented on AMBARI-23228:
----------------------------------------

Hi [~jaysensharma] 
Can you share the grafana json file for "Storm - Kafka-offset"? 

> "Storm - Kafka-offset" Grafana dashboard does not work and does not show 
> proper error cause.
> --------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-23228
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23228
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.6.1
>            Reporter: Jay SenSharma
>            Priority: Blocker
>
>  In a fresh Ambari 2.6.1 setup when we  try to access the "Storm - 
> Kafka-offset" Grafana dashboard then it shows errors.
> {code:java}
> Dashboard init failed
> Template variables could not be initialized: Cannot read property 'then' of 
> undefined
> {code}
>  - The "topic" dropdown menu does not show any topic name.
> - When we check the browser "Developer Tools" --> "Console" output then we 
> can see the following error when accessing "Storm - Kafka-offset" Grafana 
> dashboard:
> {code:java}
> TypeError: Cannot read property 'then' of undefined
>       at updateOptionsFromMetricFindQuery (app.ca0ab6f9.js:39)
>       at b (app.ca0ab6f9.js:16)
>       at i (app.ca0ab6f9.js:13)
>       at app.ca0ab6f9.js:13
>       at n.$eval (app.ca0ab6f9.js:13)
>       at n.$digest (app.ca0ab6f9.js:13)
>       at n.$apply (app.ca0ab6f9.js:13)
>       at f (app.ca0ab6f9.js:11)
>       at r (app.ca0ab6f9.js:11)
>       at XMLHttpRequest.v.onload (app.ca0ab6f9.js:11)
> {code}
> *Expectation:* Ambari should show meaningful messages in the Grafana UI 
> regarding the failure. Or if it is not able to find any particular metrics 
> name.
> .



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to