From fa1ebfa4fd30a4a9847b03c6731c236d0ab6aaed Mon Sep 17 00:00:00 2001 From: Erhhung Yuan Date: Fri, 6 Mar 2026 11:58:25 -0800 Subject: [PATCH] fix: use same metric description as OTel (#22192) (#22293) Signed-off-by: Erhhung Yuan --- backend/open_webui/utils/telemetry/metrics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/utils/telemetry/metrics.py b/backend/open_webui/utils/telemetry/metrics.py index f129f5f002..cafe779d80 100644 --- a/backend/open_webui/utils/telemetry/metrics.py +++ b/backend/open_webui/utils/telemetry/metrics.py @@ -120,12 +120,12 @@ def setup_metrics(app: FastAPI, resource: Resource) -> None: # Instruments request_counter = meter.create_counter( name="http.server.requests", - description="Total HTTP requests", + description="Counts the total number of inbound HTTP requests.", unit="1", ) duration_histogram = meter.create_histogram( name="http.server.duration", - description="HTTP request duration", + description="Measures the duration of inbound HTTP requests.", unit="ms", )