Observability and Diagnostics¶
bijux-cli observability combines structured command payloads, diagnostics
commands, and optional telemetry event streams for traceability.
Visual Summary¶
flowchart LR
command["command invocation"] --> payload["structured status and diagnostics payloads"]
command --> telemetry["telemetry span events"]
payload --> triage["operator triage and automation checks"]
telemetry --> triage
Diagnostic Surfaces¶
status: runtime, state, plugins, and install summarydoctor: configuration, install, state, and plugin health checksaudit: consolidated check inventory and issuesplugins doctorandplugins explain: plugin-specific diagnostics
Telemetry Surface¶
- invocation start/finish events
- route completion and unknown-route suggestion events
- bounded command and message field recording
- opt-in sink configuration for local diagnostics
Code Anchors¶
crates/bijux-cli/src/interface/cli/dispatch.rscrates/bijux-cli/src/shared/telemetry.rscrates/bijux-cli/src/features/diagnostics/crates/bijux-cli/src/interface/cli/handlers/cli.rs
Diagnostics Rules¶
- prefer machine-readable output for automation and CI checks
- keep telemetry optional and bounded to avoid leaking oversized data
- treat diagnostics regressions as operational blockers