Skip to main content

resq-health

Version: v0.1.16 · License: Apache-2.0 · Crate: crates.io · API docs: docs.rs
Service health diagnostic dashboard for ResQ platform

Overview

Crates.io License Service health monitoring dashboard for the ResQ platform. Polls all service health endpoints concurrently and displays live status with latency in a Ratatui TUI. Also serves as a CI health gate via --check mode, and supports integration test execution via --test.

Overview

resq-health monitors five core ResQ services by issuing HTTP health checks on a configurable interval. Standard services are probed with GET /health, while the Neo N3 RPC node uses a JSON-RPC getversion call. Results are displayed in a navigable table with color-coded status indicators, latency measurements, and error diagnostics. A non-interactive --check mode provides deterministic exit codes for CI pipelines.

Architecture

Installation

CLI Arguments

Usage Examples

Interactive TUI (default)

CI / Health Gate Mode

Integration Tests

Integration Test JSON Format

TUI Layout

Detail View

Pressing Enter on a service shows an expanded detail panel with the full URL, status, latency, and diagnostic error message.

Keyboard Shortcuts

Health Status Levels

Exit Codes (—check mode)

Monitored Services

All requests use a 5-second timeout. Services that do not respond within the timeout are marked Unhealthy.

Environment Variables

Service URLs can be overridden via environment variables:

Configuration

resq-health does not use configuration files. All configuration is handled through CLI flags and environment variables as described above. To add a new service to the monitoring list, add it to the ServiceRegistry::new() function in src/services.rs.

Dependencies

License

Licensed under the Apache License, Version 2.0. See LICENSE for details.