Expand description
§buswatch
A diagnostic TUI and library for monitoring Caryatid message bus activity.
This crate re-exports the buswatch-tui crate for backwards compatibility.
For new code, consider depending on buswatch-tui directly.
See the buswatch_tui crate documentation for full API details.
Re-exports§
pub use buswatch_types;
Modules§
- app
- Application state and navigation logic.
- buswatch_
types - buswatch-types
- data
- Data models and processing for monitor snapshots.
- events
- Event handling for keyboard and mouse input.
- source
- Data source abstraction for receiving monitor snapshots.
- subscribe
- RabbitMQ subscription for receiving monitor snapshots.
- ui
- Terminal UI rendering using ratatui.
Structs§
- App
- Main application state.
- Channel
Source - A data source that receives monitor snapshots via a channel.
- File
Source - A data source that reads monitor snapshots from a JSON file.
- Microseconds
- Duration in microseconds.
- Module
Data - Parsed module data with aggregated statistics and health.
- Module
Metrics - Metrics for a single module/consumer/producer in the message bus.
- Monitor
Data - Complete parsed monitor data ready for display.
- Read
Metrics - Metrics for reading from a topic (subscription/consumer).
- Schema
Version - Schema version information embedded in snapshots.
- Snapshot
- A point-in-time snapshot of message bus metrics.
- Stream
Source - A data source that receives monitor snapshots from an async stream.
- Thresholds
- Thresholds for health status computation.
- Topic
Read - Parsed topic read data with computed health status.
- Topic
Write - Parsed topic write data with computed health status.
- Write
Metrics - Metrics for writing to a topic (publication/producer).
Enums§
- Health
Status - Health status for a module or topic.
Traits§
- Data
Source - Trait for receiving monitor data from various sources.