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

Selecting one host when topN is set, throws an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • ambari-metrics
    • None

    Description

      topN is available by default on almost all Grafana templatized dashboards.
      When viewing any of these dashboards, if only one "host" or templated option is chosen, then AMS returns with an exception (screenshot attached).
      Sample query:
      collectorhost:6188/ws/v1/timeline/metrics?metricNames=cpu_system._avg&hostname=hostname&appId=HOST&startTime=1470925360&endTime=1470946960&topN=20&topNFunction=avg&isBottomN=false

      Attachments

        1. AMBARI-18185.patch
          1 kB
          Aravindan Vijayan

        Activity

          People

            avijayan Aravindan Vijayan
            avijayan Aravindan Vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: