Improved tm-monitor formatting#4023
Merged
melekes merged 4 commits intotendermint:masterfrom Sep 30, 2019
erikgrinaker:tm-monitor-formatting
Merged
Improved tm-monitor formatting#4023melekes merged 4 commits intotendermint:masterfrom erikgrinaker:tm-monitor-formatting
melekes merged 4 commits intotendermint:masterfrom
erikgrinaker:tm-monitor-formatting
Conversation
tm-monitor formatting
Codecov Report
@@ Coverage Diff @@
## master #4023 +/- ##
==========================================
- Coverage 67.17% 67.11% -0.06%
==========================================
Files 245 245
Lines 20573 20574 +1
==========================================
- Hits 13820 13809 -11
- Misses 5718 5732 +14
+ Partials 1035 1033 -2
|
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.
Referenced an issue explaining the need for the changeUpdated all relevant documentation in docsUpdated all code comments where relevantImproves
tm-monitorformatting of start time (RFC1123 without unnecessary precision) and avg tx throughput (three decimal places). The old tx throughput display was confusing during local testing where the tx rate is low and displayed as 0.Also updates the monitor health whenever the validator number changes. It otherwise starts with moderate health and fails to update this once it discovers the validators, leading to incorrect health reporting and invalid uptime statistics. Let me know if you would like me to submit this as a separate PR.
Before:
After: