feat(dashboard): add block transaction count and SR set change panels#118
Open
warku123 wants to merge 2 commits intotronprotocol:developfrom
Open
feat(dashboard): add block transaction count and SR set change panels#118warku123 wants to merge 2 commits intotronprotocol:developfrom
warku123 wants to merge 2 commits intotronprotocol:developfrom
Conversation
Add two new panel sections to the java-tron-server Grafana dashboard to support metrics from tronprotocol/java-tron#6624: - Block Metrics: empty block rate, per-SR empty block count, avg transactions per block, transaction count distribution - SR Set Change: event table and cumulative totals by action
Add descriptions for the new metrics under "Blockchain status" and "Block status" sections so node operators can discover and use them.
167304e to
7096913
Compare
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.
What does this PR do?
Add two new panel sections to the
java-tron-serverGrafana dashboard template to visualize the metrics introduced in tronprotocol/java-tron#6624:Block Metrics row (4 panels):
SR Set Change row (2 panels):
Why are these changes required?
tronprotocol/java-tron#6624 introduces
tron:block_transaction_count(histogram) andtron:sr_set_change(counter) metrics. This PR updates the official Grafana dashboard template so node operators can import and use the new panels directly, reducing onboarding effort as suggested in this comment.This PR has been tested by:
Follow up
Extra details
$group,$instance, backtick syntax,$__interval)