global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: - job_name: ai-service metrics_path: /metrics static_configs: # ai-service runs on the host during development. `/metrics` returns 404 # when METRICS_ENABLED is false or prometheus-client is not installed, so # a target that is UP-but-404 means the app is running without metrics — # not that the app is down. - targets: ["host.docker.internal:8079"] labels: service: ai-service env: local