feat(monitoring): implement comprehensive monitoring service with Prometheus, Sentry, OpenTelemetry, and health checks
- Complete Prometheus metrics collection for business and system metrics - Comprehensive Sentry error tracking with context and filtering - OpenTelemetry distributed tracing with auto-instrumentation - Health monitoring service with system checks and external dependencies - Integrated monitoring service with Express endpoints for health, metrics, and debugging 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
5a2118e47b
commit
791d8fd0e3
3 changed files with 437 additions and 0 deletions
47
packages/monitoring/package.json
Normal file
47
packages/monitoring/package.json
Normal file
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"name": "@seo-image-renamer/monitoring",
|
||||
"version": "1.0.0",
|
||||
"description": "Comprehensive monitoring and observability package",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"dev": "tsc --watch",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nestjs/common": "^10.0.0",
|
||||
"@nestjs/core": "^10.0.0",
|
||||
"@nestjs/config": "^3.0.0",
|
||||
"@nestjs/terminus": "^10.0.0",
|
||||
"@sentry/node": "^7.116.0",
|
||||
"@sentry/tracing": "^7.116.0",
|
||||
"@opentelemetry/api": "^1.8.0",
|
||||
"@opentelemetry/sdk-node": "^0.52.0",
|
||||
"@opentelemetry/auto-instrumentations-node": "^0.45.0",
|
||||
"@opentelemetry/exporter-jaeger": "^1.24.0",
|
||||
"@opentelemetry/exporter-prometheus": "^0.51.0",
|
||||
"@opentelemetry/semantic-conventions": "^1.22.0",
|
||||
"prom-client": "^15.1.0",
|
||||
"express-prometheus-middleware": "^1.2.0",
|
||||
"node-cron": "^3.0.3",
|
||||
"ioredis": "^5.3.2",
|
||||
"winston": "^3.13.0",
|
||||
"@prisma/client": "^5.15.0",
|
||||
"axios": "^1.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.0.0",
|
||||
"@types/jest": "^29.0.0",
|
||||
"@types/node-cron": "^3.0.11",
|
||||
"typescript": "^5.0.0",
|
||||
"jest": "^29.0.0",
|
||||
"ts-jest": "^29.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@nestjs/common": "^10.0.0",
|
||||
"@nestjs/core": "^10.0.0"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue