Singleton performance monitor instance for application-wide request tracking.
Pre-configured PerformanceMonitor instance that serves as the primary performance
tracking system for the entire application. Used by Express middleware and health
check endpoints to provide consistent performance monitoring across all components.
Example
// Use in Express middleware import { performanceMiddleware, performanceMonitor } from'@/shared/utils/performance'; app.use(performanceMiddleware(performanceMonitor));
Singleton performance monitor instance for application-wide request tracking.
Pre-configured PerformanceMonitor instance that serves as the primary performance tracking system for the entire application. Used by Express middleware and health check endpoints to provide consistent performance monitoring across all components.