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

NIFI-Hosts dashboard does not show any metrics in Grafana

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 2.7.1
    • None
    • ambari-metrics
    • None

    Description

      Description
      In Grafana, NIFI-Hosts dashboard does not show any metrics though data present in the AMS.

      Steps to reproduce it

      1. Install the cluster the and add NIFI service.

      2. Goto NIFI and add Ambari reporting task so that it sends the metrics to AMS.

      3. You can see NIFI-Home shows the Graphs but NIFI-Hosts does not.

      Below API call returns the data points
      http://xxx:6188/ws/v1/timeline/metrics?metricNames=jvm.uptime._avg&appId=nifi&instanceId=&startTime=1541611634&endTime=1541698034

      where as with hostname clause it does not return any

      http://xxx:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=jvm.uptime._avg&hostname=%&appId=nifi&instanceId=&startTime=1541611634&endTime=1541698034&topN=20&topNFunction=avg&isBottomN=false

      NIFI is sending instanceid and but AMS is not handling correctly.

      Attachments

        Issue Links

          Activity

            People

              apappu@hortonworks.com amarnath reddy pappu
              apappu@hortonworks.com amarnath reddy pappu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: