the-tip-top-backend/prometheus-dev.yml
soufiane 614abeb196 test: add comprehensive unit and integration tests
Backend Tests Added:
- Unit tests for helpers.js (tokens, validation, pagination)
- Unit tests for middleware (auth, errorHandler, validate)
- Integration tests for auth endpoints
- Integration tests for game endpoints
- Integration tests for admin endpoints
- Integration tests for employee endpoints
- Integration tests for draw endpoints
- Integration tests for newsletter/contact endpoints

Also added:
- cross-env for Windows compatibility
- Test scripts update

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 11:23:43 +01:00

22 lines
479 B
YAML

global:
scrape_interval: 5s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'backend-dev'
metrics_path: /metrics
static_configs:
- targets: ['the-tip-top-backend-dev:4000']
- job_name: 'frontend-dev'
metrics_path: /api/metrics
static_configs:
- targets: ['the-tip-top-frontend-dev:3000']
- job_name: 'node-exporter'
static_configs:
- targets: ['node-exporter:9100']