A production-ready monitoring stack using Prometheus, Grafana, and friends via docker-compose.
Perfect for home lab environments, development setups, or learning modern observability practices.
- Prometheus - Time-series metrics collection and alerting
- Grafana - Beautiful dashboards and visualizations
- Node Exporter - System metrics collection
- cAdvisor - Container metrics
- AlertManager - Alert routing and management
- Docker Compose - Simple deployment and orchestration
# Clone the repository
git clone https://github.com/bagg3rs/prom-grafana.git
cd prom-grafana
# Start the stack
docker-compose up -d
# Access services
# Grafana: http://localhost:3000 (admin/admin)
# Prometheus: http://localhost:9090
# AlertManager: http://localhost:9093- Pre-configured Prometheus targets
- Grafana dashboards for system and container monitoring
- Alert rules for common scenarios
- Persistent data storage
- Network isolation for security
Edit prometheus/prometheus.yml to add your own targets and scrape configs.
Custom Grafana dashboards can be added to grafana/dashboards/.
See Prometheus Documentation and Grafana Documentation for more details.
Contributions welcome! Feel free to open issues or submit pull requests.
MIT License - see LICENSE file for details.