Comprehensive Prometheus Grafana Monitoring Stack
Complete monitoring solution with Prometheus, Grafana, and AlertManager.
Prompt (feel free to adjust it):
Set up a production-ready monitoring stack using Prometheus, Grafana, and AlertManager. Include: 1) Prometheus server configuration with service discovery for Kubernetes and Docker, 2) Custom metrics collection from applications using client libraries, 3) Grafana dashboard creation for infrastructure, application, and business metrics, 4) AlertManager configuration with multi-channel notifications (Slack, email, PagerDuty), 5) Recording rules for performance optimization, 6) High availability setup with Prometheus federation, 7) Long-term storage solution using Thanos or Cortex, 8) Security hardening with authentication and authorization, 9) Backup and disaster recovery procedures, 10) Performance tuning and capacity planning guidelines.
Use Cases
- Production system monitoring
- Application performance tracking
- Infrastructure health monitoring