Skip to main content

H.1.5: Discovery Service Health Check

Monitors the component discovery service and reports health metrics. Can be used standalone or integrated into monitoring systems.

Usage: python3 scripts/core/discovery_health_check.py # Quick health check python3 scripts/core/discovery_health_check.py --json # JSON output python3 scripts/core/discovery_health_check.py --watch # Continuous monitoring

Exit codes: 0 - Healthy 1 - Degraded (warnings) 2 - Unhealthy (errors)

File: discovery_health_check.py

Classes

HealthStatus

Health check status levels

Functions

Print health report to console

main()

No description

Usage

python discovery_health_check.py