What problem does it solve?
VendHub monitoring and observability reduces incident response time by providing centralized visibility into metrics, logs, and health. It helps teams quickly identify performance issues, failures, and capacity constraints across the VendHub services.
Core Features & Use Cases
- Prometheus metrics collection for backend, frontend, and services health.
- Grafana dashboards for real-time visualization and alerting readiness.
- Winston logging with structured logs and error tracking via Sentry.
- Use Case: Set up dashboards and alerts to detect ServiceDown events, high latency, and rising error rates, enabling proactive maintenance.
Quick Start
- Review the docker-compose.monitoring.yml and run the monitoring stack:
- docker-compose -f docker-compose.monitoring.yml up -d
- Access Grafana at http://localhost:3002 with credentials admin/admin
- Import or create VendHub dashboards and alert rules in Grafana and Alertmanager.