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

Hudson commented on AMBARI-24403:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9725 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/9725/])
AMBARI-24403 grafana is not showing any datapoints if the queue name (avijayan: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=06266815fe8b18ac72a2b63d042d8ad603d9f40d])
* (edit) ambari-metrics/ambari-metrics-grafana/ambari-metrics/datasource.js


> [Ambari metrics][grafana] grafana is not showing any datapoints if the queue 
> name contains special characters
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-24403
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24403
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.6.2
>            Reporter: Akhil S Naik
>            Assignee: Akhil S Naik
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: trunk, 2.7.1
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> grafana is not showing any data points if the queue name contains special 
> characters
> I have a queue named 'A&B' , in Yarn queues dashboard if I select this queue 
> name I am getting empty data showing no data points.
> The issue is reproducible
> Analysis : 
> In grafana UI we are sending the request to fetch the data by encoding the 
> URI.
> for which the server is interpreting it as separate parameters 
> http://mygrafanaserver.com:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=yarn.QueueMetrics.Queue=root.{color:red}A&B{color}.AppsRunning._max&appId=resourcemanager&startTime=1533181180&endTime=1533202780
> Which should ideally be :
> http://mygrafanaserver.com:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=yarn.QueueMetrics.Queue=root.{color:red}A%26B{color}.AppsRunning._max&appId=resourcemanager



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to