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: 'veza-backend' static_configs: - targets: ['backend-api:8080'] # Use container name in same network metrics_path: '/metrics' - job_name: 'veza-chat' static_configs: - targets: ['chat-server:8081'] # Use container name metrics_path: '/metrics' - job_name: 'veza-stream' static_configs: - targets: ['stream-server:8082'] # Use container name metrics_path: '/metrics'