This commit is contained in:
Boki 2025-06-23 22:32:51 -04:00
parent d7979500eb
commit ce5fa9da4a
25 changed files with 68 additions and 175 deletions

View file

@ -73,31 +73,6 @@ export interface DynamicPoolConfig {
evaluationInterval: number; // ms between checks
}
/**
* Health Status Types
*/
export type MongoDBHealthStatus = 'healthy' | 'degraded' | 'unhealthy';
export interface MongoDBHealthCheck {
status: MongoDBHealthStatus;
timestamp: Date;
latency: number;
connections: {
active: number;
available: number;
total: number;
};
errors?: string[];
}
export interface MongoDBMetrics {
operationsPerSecond: number;
averageLatency: number;
errorRate: number;
connectionPoolUtilization: number;
documentsProcessed: number;
}
/**
* Base Document Interface
*/