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

Akhil S Naik updated AMBARI-24403:
----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> [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