# Prometheus configuration for Atlas CMMS monitoring global: scrape_interval: 15s evaluation_interval: 15s rule_files: # - "first_rules.yml" # - "second_rules.yml" scrape_configs: # Prometheus itself - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] # Atlas CMMS API - job_name: 'atlas-api' static_configs: - targets: ['atlas_api:8080'] metrics_path: '/actuator/prometheus' scrape_interval: 30s # PostgreSQL Exporter (optional) - job_name: 'postgres' static_configs: - targets: ['postgres_exporter:9187'] scrape_interval: 30s # Node Exporter (optional - for system metrics) - job_name: 'node' static_configs: - targets: ['node_exporter:9100'] scrape_interval: 30s # Nginx Proxy Manager (if metrics are enabled) - job_name: 'nginx-proxy-manager' static_configs: - targets: ['nginx-proxy-manager:80'] metrics_path: '/metrics' scrape_interval: 60s # MinIO Metrics - job_name: 'minio' static_configs: - targets: ['atlas_minio:9000'] metrics_path: '/minio/v2/metrics/cluster' scrape_interval: 30s