UNPKG

@ahmedhegazee/nestjs-telescope

Version:

Advanced observability and monitoring solution for NestJS applications with ML-powered analytics, enterprise features, and production-ready scaling

50 lines 1.42 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultExceptionWatcherConfig = void 0; exports.defaultExceptionWatcherConfig = { enabled: true, priority: 1, tags: ['exception', 'error', 'monitoring'], dependencies: [], captureStackTrace: true, enableSourceMaps: true, maxStackTraceDepth: 50, enableUserContext: true, enableRequestContext: true, enableQueryContext: true, groupSimilarErrors: true, enableErrorClassification: true, classifyByType: true, classifyByMessage: true, classifyByLocation: true, excludeErrorTypes: [ 'ValidationError', 'UnauthorizedException', 'ForbiddenException', 'NotFoundException' ], excludeErrorMessages: [ 'Request timeout', 'Connection refused', 'Network error' ], sampleRate: 100, captureUnhandledRejections: true, captureUncaughtExceptions: true, maxContextSize: 50000, captureHeaders: true, captureBody: false, captureParams: true, captureQuery: true, captureEnvironment: true, enablePerformanceTracking: true, correlateWithRequests: true, correlateWithQueries: true, enableRealTimeAlerts: true, alertThresholds: { errorRate: 0.05, criticalErrors: 10, timeWindow: 300000 } }; //# sourceMappingURL=exception-watcher.config.js.map