You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Akhil S Naik (JIRA)" <ji...@apache.org> on 2018/08/02 14:32:01 UTC
[jira] [Created] (AMBARI-24403) [Ambari metrics][grafana] grafana
is not showing any datapoints if the queue name contains special characters
Akhil S Naik created AMBARI-24403:
-------------------------------------
Summary: [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
Reporter: Akhil S Naik
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)