fix(observability): fix OCR target name + add Ollama scrape job (#737)

- prometheus.yml: ocr:8000 → ocr-service:8000 (Docker service name is
  ocr-service, not ocr — current scrape target has never resolved)
- Add Ollama scrape job on ollama:11434 /metrics

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-06-06 13:53:33 +02:00
parent c0d034c85d
commit 1f379a161d

View File

@@ -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']