Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions metric_monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ The TRON node metrics can be viewed through the Grafana dashboard or directly at
- `tron:header_time`: The latest block time of java-tron on this node
- `tron:header_height`: The latest block height of java-tron on this node
- `tron:miner_total`: Used to display the blocks produced by a certain SR
- `tron:sr_set_change_total`: Counter of SR set membership changes detected at each maintenance time interval. Labels: `action` (`add`/`remove`), `witness` (SR address). Useful for tracking governance and consensus participant rotation.

### Node system status
Metric of specific container:
Expand Down Expand Up @@ -146,6 +147,11 @@ Verify the latency of all transactions' signatures when processing a block:
- `tron:verify_sign_latency_seconds_count`: Count of events
- `tron:verify_sign_latency_seconds_sum`: Total sum of all observed values

Histogram of transaction count per block, with buckets `[0, 10, 50, 100, 200, 500, 1000, 2000, 5000, 10000]`. Empty blocks can be queried via the `le="0.0"` bucket; the distribution buckets enable transaction volume analysis (P50/P99, large-block ratio, etc.):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the default buckets to align with java-tron latest metrics

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in ad334cb — bucket array updated to match the refined values in tronprotocol/java-tron#6730. Also note the dashboard panel was already realigned to the new boundaries in f9325c7 earlier in this PR.

- `tron:block_transaction_count_bucket`: Cumulative counters per bucket. Label: `miner` (SR address).
- `tron:block_transaction_count_count`: Count of observed blocks
- `tron:block_transaction_count_sum`: Total sum of all observed transaction counts

Check the usage from dashboard panel (enter edit mode), or by searching in [grafana_dashboard_tron_server.json](grafana_dashboard/grafana_dashboard_tron_server.json).
![image](../images/metric_block_latency.png)

Expand Down
Loading