Files
open-webui/backend/open_webui
Classic298 76b7be67fc feat: let admins exclude routes like health checks from OpenTelemetry metrics (#33329)
With OpenTelemetry metrics on, every request is counted in the HTTP request and duration metrics, so Kubernetes liveness and readiness probes on `/health` and `/health/db` fill the time series database and dashboards with noise. These metrics now skip any request whose URL matches `OTEL_PYTHON_FASTAPI_EXCLUDED_URLS` (or `OTEL_PYTHON_EXCLUDED_URLS` as a fallback), the standard OpenTelemetry variable that traces already honour. It takes a comma-separated list of regular expressions such as `/health,/_app/immutable/.*`, each matched anywhere in the URL, so `/health` also covers `/health/db`. One pattern now drops the same requests from traces and metrics alike. Nothing changes when the variable is unset.

Closes #31609
2026-10-29 05:21:06 +09:00
..
2026-10-14 18:49:51 +04:00
2026-10-28 10:25:04 +09:00
2026-10-28 10:02:45 +09:00
2026-10-28 10:02:45 +09:00
2026-10-28 10:14:11 +09:00
2026-09-06 17:27:30 -04:00
2026-10-05 12:03:19 +04:00
2026-10-28 10:02:45 +09:00
2026-10-26 18:54:49 +09:00
2026-10-28 08:04:47 +09:00
2026-10-16 04:20:53 +04:00