Crate buswatch

Crate buswatch 

Source
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.
ChannelSource
A data source that receives monitor snapshots via a channel.
FileSource
A data source that reads monitor snapshots from a JSON file.
Microseconds
Duration in microseconds.
ModuleData
Parsed module data with aggregated statistics and health.
ModuleMetrics
Metrics for a single module/consumer/producer in the message bus.
MonitorData
Complete parsed monitor data ready for display.
ReadMetrics
Metrics for reading from a topic (subscription/consumer).
SchemaVersion
Schema version information embedded in snapshots.
Snapshot
A point-in-time snapshot of message bus metrics.
StreamSource
A data source that receives monitor snapshots from an async stream.
Thresholds
Thresholds for health status computation.
TopicRead
Parsed topic read data with computed health status.
TopicWrite
Parsed topic write data with computed health status.
WriteMetrics
Metrics for writing to a topic (publication/producer).

Enums§

HealthStatus
Health status for a module or topic.

Traits§

DataSource
Trait for receiving monitor data from various sources.