global: scrape_interval: 30s evaluation_interval: 30s scrape_configs: - job_name: prometheus static_configs: - targets: - prometheus:9090 - job_name: backend metrics_path: /metrics static_configs: - targets: - backend:9090 - job_name: postgres static_configs: - targets: - postgres-exporter:9187 - job_name: node static_configs: - targets: - node-exporter:9100 - job_name: ml metrics_path: /metrics file_sd_configs: - files: - /etc/prometheus/targets/ml.yml