global: # The default frequency to scrape targets. scrape_interval: 15s # The default frequency to evaluate rules. evaluation_interval: 15s scrape_configs: # A job for scraping Prometheus itself. - job_name: 'prometheus' # Use the service name defined in docker-compose.yml as the target hostname. static_configs: - targets: ['localhost:9090']