global: scrape_interval: 15s scrape_configs: # Scruter le PostgreSQL Exporter - job_name: 'postgres_exporter' static_configs: - targets: ['postgres_exporter:9187'] # Cible du PostgreSQL Exporter # Scruter Prometheus - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] # Optionnel : Scruter Grafana - job_name: 'grafana' static_configs: - targets: ['grafana:3000']