[
https://issues.apache.org/jira/browse/NIFI-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436380#comment-15436380
]
ASF GitHub Bot commented on NIFI-2659:
--------------------------------------
GitHub user ijokarumawak opened a pull request:
https://github.com/apache/nifi/pull/939
NIFI-2659: Fixed RPG Received stats
It was showing the 'Sent' stats as 'Received' stats.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijokarumawak/nifi nifi-2659
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/939.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #939
----
commit 01baf6786175c213a64be131751f2c56ad39166f
Author: Koji Kawamura <[email protected]>
Date: 2016-08-25T06:56:21Z
NIFI-2659: Fixed RPG Received stats
It was showing the 'Sent' stats as 'Received' stats.
----
> Remote Process Group UI component shows Sent stats as Received stats
> --------------------------------------------------------------------
>
> Key: NIFI-2659
> URL: https://issues.apache.org/jira/browse/NIFI-2659
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 1.0.0
> Reporter: Koji Kawamura
> Assignee: Koji Kawamura
> Fix For: 1.0.0
>
> Attachments: screenshot-1.png, screenshot-2-fixed.png
>
>
> 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:
> {code:title=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, ' ');
> });
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)