Interface AdapterStatus

Current health and status of the adapter.

interface AdapterStatus {
    healthy: boolean;
    connected: boolean;
    lastError?: Error;
    lastQuery?: Date;
    totalQueries: number;
    errors: number;
    uptime: number;
    metrics?: PerformanceMetrics;
}

Properties

healthy: boolean

Whether the adapter is functioning correctly

connected: boolean

Whether the adapter is currently connected

lastError?: Error

Last error encountered (if any)

lastQuery?: Date

Timestamp of last successful query

totalQueries: number

Total number of queries executed

errors: number

Total number of errors encountered

uptime: number

Time since adapter was opened (in milliseconds)

Performance metrics (if available)