Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24403

[Ambari metrics][grafana] grafana is not showing any datapoints if the queue name contains special characters

    XMLWordPrintableJSON

    Details

      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.A&B.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.A%26B.AppsRunning._max&appId=resourcemanager

        Attachments

          Activity

            People

            • Assignee:
              asnaik Akhil Naik
              Reporter:
              asnaik Akhil Naik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h