Fix celery metrics not reaching Prometheus and update Grafana dashboard

Init OTel metrics at module level in celery_app.py so prefork child
processes inherit the MeterProvider and PrometheusMetricReader from
the parent.  Previously, worker_process_init created a separate
MeterProvider in each child, disconnected from the HTTP server in
the main process — so all scrape/celery/OCR metrics were silently
lost.

Update Grafana dashboard with API Performance and Frontend Performance
sections, synced from the live cluster dashboard.
This commit is contained in:
Viktor Barzin 2026-02-22 17:58:20 +00:00
parent bfee06525b
commit 67d4ab3821
No known key found for this signature in database
GPG key ID: 0EB088298288D958
2 changed files with 2510 additions and 250 deletions

File diff suppressed because it is too large Load diff