Files
a13labs.infra/terraform/apps/dev-01/resources/prometheus.yml
T
alexandre.pires 429a94332e feat: add disk exporter module and related configurations
- Introduced a new disk exporter module to monitor disk health using SMART data.
- Updated `apps.tf` to include the disk exporter module with necessary parameters.
- Added local variables for smartctl version and checksum in `config.tf`.
- Enhanced `alertmanager.yml` to handle DiskUnhealthy alerts with specific grouping and dispatch settings.
- Created new Prometheus rules for monitoring disk health, including alerts for unhealthy disks.
- Updated Prometheus configuration to scrape metrics from the new disk exporter.
- Enhanced Telegram notification template to include resolved alerts and improved formatting.
- Updated the auth-exporter module to specify the Python image tag correctly.
- Created the disk-exporter module with Kubernetes resources, including deployment, service account, and config map.
- Added necessary Python scripts and requirements for the disk exporter functionality.
2025-10-06 18:41:01 +02:00

24 lines
634 B
YAML

scrape_configs:
- job_name: node-exporter
scrape_interval: 10s
static_configs:
- targets:
- "node-exporter.prometheus.svc.cluster.local:9100"
- "10.19.4.1:9100"
- labels:
cluster: "dev-01"
- job_name: auth-exporter
scrape_interval: 10s
static_configs:
- targets:
- "auth-exporter.prometheus.svc.cluster.local:9100"
- labels:
cluster: "dev-01"
- job_name: disk-exporter
scrape_interval: 120s
static_configs:
- targets:
- "disk-exporter.prometheus.svc.cluster.local:9100"
- labels:
cluster: "dev-01"