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 15:25:04 UTC
[jira] [Updated] (AMBARI-24403) [Ambari metrics][grafana] grafana
is not showing any datapoints if the queue name contains special characters
[ https://issues.apache.org/jira/browse/AMBARI-24403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akhil S Naik updated AMBARI-24403:
----------------------------------
Description:
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
was:
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
> [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
>
> 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)