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: 'gorz' static_configs: - targets: ['gorz:9090'] metrics_path: '/metrics' scrape_interval: 5s - job_name: 'webapp' static_configs: - targets: ['webapp:80'] metrics_path: '/metrics' scrape_interval: 5s - job_name: 'api' static_configs: - targets: ['api:80'] metrics_path: '/metrics' scrape_interval: 5s