Repository navigation
List ingress and egress separately on JSON and CSV exports. Include BW and also raw values per second - #246
Merged
Merged
Conversation
…W and also raw values per second
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #246 +/- ##
==========================================
+ Coverage 62.22% 64.53% +2.31%
==========================================
Files 21 21
Lines 4347 4368 +21
==========================================
+ Hits 2705 2819 +114
+ Misses 1642 1549 -93 ☔ View full report in Codecov by Sentry. |
YaacovHazan
approved these changes
Dec 23, 2023
This was referenced Oct 13, 2026
fcostaoliveira
added a commit
that referenced
this pull request
Oct 13, 2026
run_stats::summarize() added ar_one_sec_cmd_stats::bytes(), which is already rx + tx, to both the Totals RX and TX byte counters. In --command mode the Totals KB/sec was therefore twice the sum of the per-command rows, and the Totals RX/TX split was wrong in the text, JSON and CSV outputs (including the --run-count BEST/WORST/AGGREGATED sections). Split bytes() into bytes_rx() and bytes_tx() so each direction only counts its own bytes, like SET/GET already do. Introduced in 20c013d (#246). Fixes #566 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following PR:
excerpt from the json output showcasing the added overall metrics ("KB/sec RX/TX", "KB/sec RX", "KB/sec TX") and the per second ones ("Bytes RX","Bytes TX")