diff --git a/infra/observability/prometheus/prometheus.yml b/infra/observability/prometheus/prometheus.yml index 4838bc1c..53121566 100644 --- a/infra/observability/prometheus/prometheus.yml +++ b/infra/observability/prometheus/prometheus.yml @@ -20,4 +20,10 @@ scrape_configs: - job_name: ocr-service metrics_path: /metrics static_configs: - - targets: ['ocr:8000'] + - targets: ['ocr-service:8000'] + + - job_name: ollama + metrics_path: /metrics + static_configs: + # Uses the Docker service name for reliable DNS resolution. + - targets: ['ollama:11434']