You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/08/03 17:31:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16568507#comment-16568507 ]
Hudson commented on AMBARI-24403:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #105 (See [https://builds.apache.org/job/Ambari-branch-2.7/105/])
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=a822a365c35b51146f8d08b15180bb7ccd6a5979])
* (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)