-
Notifications
You must be signed in to change notification settings - Fork 3
docs: add tracer dashboard command documentation #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -468,6 +468,29 @@ This will display: | |
| - Time until usage counters reset | ||
| - Timestamps of your last publish and subscribe operations | ||
|
|
||
| ## Tracer Dashboard | ||
|
|
||
| Interactive real-time dashboard showing network metrics, message statistics, and latency data. | ||
|
|
||
| ```sh | ||
| ./mump2p tracer dashboard | ||
| ``` | ||
|
|
||
| **Options:** | ||
| - `--window`: Time window for metrics (default: `10s`) | ||
| - `--topic`: Topic for auto-publishing demo messages (default: `demo`) | ||
| - `--count`: Number of messages to auto-publish (default: `60`) | ||
| - `--interval-ms`: Interval between published messages in ms (default: `500`) | ||
|
|
||
| **Example:** | ||
| ```sh | ||
|
Comment on lines
+485
to
+486
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line before code fence to comply with Markdown standards. The fenced code block needs a blank line separating it from the preceding text per MD031. 🔎 Apply this diff: **Example:**
+
```sh
./mump2p tracer dashboard --topic=metrics --count=100 --interval-ms=200In docs/guide.md around lines 485-486, the fenced code block lacks a blank line |
||
| ./mump2p tracer dashboard --topic=metrics --count=100 --interval-ms=200 | ||
| ``` | ||
|
|
||
| Press `q` or `Ctrl+C` to exit. | ||
|
|
||
|  | ||
|
|
||
| ## Health Monitoring | ||
|
|
||
| ### Check Proxy Server Health | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Clarify
--interval-msdescription for consistency and explicitness.The description "Interval between published messages in ms" is clear in context, but for full consistency with the preceding options (which explicitly mention "auto-publishing demo messages" and "auto-publish"), consider rephrasing to state "Interval between auto-published demo messages in ms". This matches the past reviewer's suggestion to be explicit about what messages are referenced. [Based on past review comment]
🔎 Apply this diff:
📝 Committable suggestion
🤖 Prompt for AI Agents