System health checker for monitoring distributed relayer deployments.
This class provides comprehensive health monitoring for relayer systems:
const healthChecker = new SystemHealthChecker({ atomicStore, operationStore, publicClient, chainId: 14800, addresses: [relayerAddress]});const health = await healthChecker.check();if (health.status === 'unhealthy') { console.error('System unhealthy:', health.errors);} Copy
const healthChecker = new SystemHealthChecker({ atomicStore, operationStore, publicClient, chainId: 14800, addresses: [relayerAddress]});const health = await healthChecker.check();if (health.status === 'unhealthy') { console.error('System unhealthy:', health.errors);}
Performs a comprehensive health check of the system.
The health status of the system
Gets a simple health check response for HTTP endpoints.
A simple health object suitable for JSON response
System health checker for monitoring distributed relayer deployments.
Remarks
This class provides comprehensive health monitoring for relayer systems:
Example