A real-time error monitoring and reporting service that integrates with Telex channels, providing prioritized error classification and automated notifications.
This microservice monitors your codebase for errors, processes them through a message queue system, and delivers prioritized notifications to your Telex channels. It supports real-time monitoring and configurable error thresholds.
- Error Controller: Entry point for error processing
- Categorization Service: Analyzes and classifies errors
- ZeroMQ Service: Handles message queuing and distribution
- Webhook Service: Manages Telex channel communication
-
Error Detection
- Real-time monitoring
- Static code analysis (ESLint)
- Stack trace processing
-
Error Processing
- Automatic categorization
- Priority classification
- Error enrichment
-
Notification System
- Real-time Telex updates
- Configurable webhooks
- Node.js 20.x
- npm 9.x
- ZeroMQ library
# Clone repository git clone https://github.com/telexintegrations/code-error-microservice # Install dependencies npm install # Setup environment cp .env.example .env # Start development server npm run dev
| Severity | Description | Example |
|---|---|---|
| π¨ High | System critical | Service crash, DB connection failure |
| π Medium | Functional issues | API timeout, validation errors |
| iοΈ Low | Minor problems | Deprecation warnings, style issues |
src/
βββ controllers/ # Request handlers
βββ services/ # Business logic
βββ middlewares/ # HTTP middlewares
βββ routes/ # API routes
βββ utils/ # Helper functions
βββ app.ts # Application entry
| Package | Version | Purpose |
|---|---|---|
| express | ^4.21.2 | Web framework |
| zeromq | ^6.3.0 | Message queue |
| axios | ^1.8.3 | HTTP client |
| typescript | ^5.8.2 | Type support |
| pm2 | latest | Process management |