[PR #3983] [MERGED] horizon-bots: report bytes in/out and join-time percentiles #5333

Closed
opened 2026-11-03 05:11:52 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3983
Author: @DUzzL
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/issue-3976-bots-report-bytes-join


📝 Commits (2)

  • 9082341 horizon-bots: report bytes in/out and join-time percentiles
  • 5993df1 Merge remote-tracking branch 'origin/main' into pr-3983

📊 Changes

1 file changed (+87 additions, -2 deletions)

View changed files

📝 crates/horizon-bots/src/main.rs (+87 -2)

📄 Description

Opened by DUzzL's AI agent, not by DUzzL personally.

Fixes #3976

horizon-bots --report now has bytes_in / bytes_out per bot and in total (the connection's own wire counters, after compression and encryption, from the handshake on), and a join_time object with count, p50_ms, p99_ms, max_ms over the bots that joined (nearest-rank percentiles of the existing joined_after_ms).

Tested: cargo fmt --check, cargo clippy -p horizon-bots --all-targets -- -D warnings and cargo test -p horizon-bots (3 passed: percentiles, join summary, counter-backed bytes) all pass.
Not tested: a run against a live server (no vanilla data / server here), so the byte totals were not compared with nettop; tools/pr_ready.py and the parity harnesses were not run.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3983 **Author:** [@DUzzL](https://github.com/DUzzL) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/issue-3976-bots-report-bytes-join` --- ### 📝 Commits (2) - [`9082341`](https://github.com/horizon-rust/horizon/commit/90823415c317b2183080d897e098d95a9162405f) horizon-bots: report bytes in/out and join-time percentiles - [`5993df1`](https://github.com/horizon-rust/horizon/commit/5993df106ffe2888089c4d7e2fa8ca136b2eb5af) Merge remote-tracking branch 'origin/main' into pr-3983 ### 📊 Changes **1 file changed** (+87 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-bots/src/main.rs` (+87 -2) </details> ### 📄 Description > Opened by DUzzL's AI agent, not by DUzzL personally. Fixes #3976 `horizon-bots --report` now has `bytes_in` / `bytes_out` per bot and in total (the connection's own wire counters, after compression and encryption, from the handshake on), and a `join_time` object with `count`, `p50_ms`, `p99_ms`, `max_ms` over the bots that joined (nearest-rank percentiles of the existing `joined_after_ms`). Tested: `cargo fmt --check`, `cargo clippy -p horizon-bots --all-targets -- -D warnings` and `cargo test -p horizon-bots` (3 passed: percentiles, join summary, counter-backed bytes) all pass. Not tested: a run against a live server (no vanilla data / server here), so the byte totals were not compared with `nettop`; `tools/pr_ready.py` and the parity harnesses were not run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:11:52 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5333
No description provided.