mirror of
https://github.com/ghndrx/monitoring-stack.git
synced 2026-02-10 06:45:11 +00:00
48 lines
1.2 KiB
Markdown
48 lines
1.2 KiB
Markdown
# Monitoring Stack
|
|
|
|

|
|

|
|

|
|
|
|
Production-ready monitoring stack configurations for Prometheus, Grafana, Loki, and Alertmanager.
|
|
|
|
## Components
|
|
|
|
```
|
|
├── prometheus/
|
|
│ ├── rules/ # Alert rules
|
|
│ └── targets/ # Scrape targets
|
|
├── grafana/
|
|
│ ├── dashboards/ # JSON dashboards
|
|
│ └── datasources/ # Data source configs
|
|
├── alertmanager/ # Alert routing
|
|
├── loki/ # Log aggregation
|
|
└── promtail/ # Log shipping
|
|
```
|
|
|
|
## Dashboards
|
|
|
|
- 📊 Node Exporter - System metrics
|
|
- 🐳 Docker/Kubernetes - Container metrics
|
|
- 🌐 NGINX/Traefik - Ingress metrics
|
|
- 💾 PostgreSQL/Redis - Database metrics
|
|
- ⚡ Custom app dashboards
|
|
|
|
## Alert Rules
|
|
|
|
- 🔴 HighCPU, HighMemory, DiskFull
|
|
- 🟡 ServiceDown, HighLatency
|
|
- 🔵 CertExpiring, BackupFailed
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
docker-compose up -d
|
|
# Grafana: http://localhost:3000 (admin/admin)
|
|
# Prometheus: http://localhost:9090
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|