Expand description
hyperlane-plugin-health
High-concurrency /healthz, /livez, and /readyz health probe plugin for
Hyperlane with concurrent async HealthCheck evaluation, per-probe timeout,
TTL snapshot caching, and lock-free graceful drain signaling.
Structs§
- Check
Outcome - Result returned by a single
HealthCheck::checkinvocation. - Check
Report - Serialized report for one executed probe in a
HealthReport. - Health
Config - Endpoint paths, timeout, and snapshot cache configuration for
HealthPlugin. - Health
Hook - Opt-in
ServerHookanswering/healthz,/livez, and/readyzprobes. - Health
Plugin - Process-wide
HealthPluginsingleton storingHealthConfigandHealthRegistry. - Health
Registry - Thread-safe registry of async
HealthCheckprobes with lock-free drain state and snapshot cache. - Health
Report - Top-level JSON health report emitted on
/healthz,/livez, and/readyz.
Enums§
- Health
Status - Aggregate or individual probe health state.
Constants§
- DEFAULT_
HEALTH_ CACHE_ TTL_ MS - Default health report cache TTL in milliseconds (
0disables caching). - DEFAULT_
HEALTH_ CHECK_ TIMEOUT_ MS - Default per-check execution timeout in milliseconds (2 seconds).
- DEFAULT_
HEALTH_ PATH - Default combined health endpoint path.
- DEFAULT_
LIVE_ PATH - Default liveness probe endpoint path.
- DEFAULT_
READY_ PATH - Default readiness probe endpoint path.
Traits§
- Health
Check - Pluggable asynchronous health check probe (database, Redis, disk, upstream, etc.).
Type Aliases§
- Health
Future - Boxed
Sendfuture returned by an asyncHealthCheck.