Vana SDK - v2.2.2
    Preparing search index...

    Class SystemHealthChecker

    System health checker for monitoring distributed relayer deployments.

    This class provides comprehensive health monitoring for relayer systems:

    • Storage backend connectivity and performance
    • Blockchain RPC availability
    • Nonce synchronization status
    • Operation queue health
    • Stuck transaction detection
    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);
    }
    Index

    Methods

    • Gets a simple health check response for HTTP endpoints.

      Returns Promise<
          {
              healthy: boolean;
              status: string;
              timestamp: number;
              errors?: string[];
          },
      >

      A simple health object suitable for JSON response