mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Integrated into release/v3.8.8. Applied review fixes: moved the SELECT 1 into a pingDb() db helper (no raw SQL in route, Hard Rule #5) + the 503 catch no longer leaks err.message (Hard Rule #12). Thanks @herjarsa!
1.3 KiB
1.3 KiB
name, description
| name | description |
|---|---|
| cli-health | Check server health, component status, and live metrics from the CLI. Run `health`, `health components`, and `health watch` for a real-time dashboard of circuit breakers and provider status. |
Overview
Check server health, component status, and live metrics from the CLI. Run health, health components, and health watch for a real-time dashboard of circuit breakers and provider status.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
doctor
Flags:
--no-liveness--host <host>--liveness-url <url>
Example:
omniroute doctor
health
Flags:
-v, --verbose--json--alerts-only
Example:
omniroute health
health components
List health components and their status
Flags:
--alerts-only
Example:
omniroute health components
health watch
Live dashboard — refresh every N seconds
Flags:
--interval <s>
Example:
omniroute health watch
status
Show OmniRoute status dashboard
Flags:
-v, --verbose
Example:
omniroute status