A containerized observability platform demonstrating metrics collection, visualization, health monitoring, and automated alerting using Prometheus, Grafana, Alertmanager, Docker, and Node.js.
ZonedAccuracy Application
|
| /metrics
v
Prometheus
/ \
v v
Grafana Alert Rules
Dashboard |
v
Alertmanager
- Containerized monitoring stack using Docker Compose
- Prometheus metrics collection
- Grafana dashboard provisioning
- Application health monitoring
- Request and error counters
- Request-rate visualization
- Error-rate visualization
- Automated Prometheus alert rules
- Alertmanager integration
- Reproducible infrastructure configuration
Provides:
GET /
GET /health
GET /metrics
GET /error
The /metrics endpoint exposes Prometheus-compatible application telemetry.
Collects application metrics every 15 seconds and evaluates alerting rules.
Metrics include:
zonedaccuracy_requests_total
zonedaccuracy_errors_total
zonedaccuracy_service_up
Provides the ZonedAccuracy Cloud Observability dashboard with:
- Service Status
- Total Requests
- Total Errors
- Request Rate
- Error Rate
Receives alerts generated by Prometheus and provides centralized alert management.
Triggers when more than five application errors occur within five minutes.
increase(zonedaccuracy_errors_total[5m]) > 5
Severity:
warning
Monitors application availability using the service health metric.
Severity:
critical
The project was tested end-to-end:
Application Error
|
v
Prometheus Metric
|
v
Alert Threshold Exceeded
|
v
Alert Pending
|
v
Alert Firing
|
v
Alertmanager
Start the complete stack:
docker compose up -dCheck the containers:
docker compose psServices:
| Service | Address |
|---|---|
| Application | localhost:3000 |
| Grafana | localhost:3001 |
| Prometheus | localhost:9090 |
| Alertmanager | localhost:9093 |
Stop the stack:
docker compose down- Prometheus
- Grafana
- Alertmanager
- Docker
- Docker Compose
- Node.js
- PromQL
- Git
- GitHub
- Cloud observability
- Application monitoring
- Metrics instrumentation
- PromQL
- Dashboard engineering
- Alert management
- Health monitoring
- Containerization
- SRE fundamentals
- Infrastructure troubleshooting
This repository is part of the ZonedAccuracy Cloud Portfolio, a collection of hands-on projects demonstrating cloud engineering, DevOps, SRE, security, automation, and cloud architecture skills.
ZonedAccuracy.com