Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2659

Remote Process Group UI component shows Sent stats as Received stats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • Core UI
    • None

    Description

      RPG component shows Sent and Received statistics. Sent stats is shown correctly, but Received stats also uses the Sent stats. Because of that, the correct Received stats is not shown.

      Corresponding JS code uses 'sent' stats for 'received' wrongly:

      nf-remote-process-group.js
              // received count value
              updated.select('text.remote-process-group-received tspan.count')
                  .text(function (d) {
                      return nf.Common.substringBeforeFirst(d.status.aggregateSnapshot.sent, ' ');
                  });
      
              // received size value
              updated.select('text.remote-process-group-received tspan.size')
                  .text(function (d) {
                      return ' ' + nf.Common.substringAfterFirst(d.status.aggregateSnapshot.sent, ' ');
                  });
      

      Attachments

        1. screenshot-2-fixed.png
          29 kB
          Koji Kawamura
        2. screenshot-1.png
          29 kB
          Koji Kawamura

        Issue Links

          Activity

            People

              ijokarumawak Koji Kawamura
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: