global: scrape_interval: 15s evaluation_interval: 15s rule_files: # - "first_rules.yml" # - "second_rules.yml" scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] - job_name: 'ai-service' static_configs: - targets: ['ai-service.medical-ai.svc.cluster.local:80'] metrics_path: '/metrics' scrape_interval: 30s - job_name: 'postgresql' static_configs: - targets: ['postgresql.medical-ai.svc.cluster.local:5432'] scrape_interval: 30s - job_name: 'redis' static_configs: - targets: ['redis.medical-ai.svc.cluster.local:6379'] scrape_interval: 30s