mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[GH-ISSUE #22192] issue: OTel collector's prometheus exporter logs "Instrument description conflict" #58321
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @erhhung on GitHub (Mar 3, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22192
Check Existing Issues
Installation Method
Other
Open WebUI Version
v0.8.8
Ollama Version (if applicable)
v0.16.1
Operating System
Ubuntu 24.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When sending metrics to an OpenTelemetry collector that relays metrics to Prometheus, I expect that no errors are logged either by Open WebUI or the OpenTelemetry collector.
Actual Behavior
The errors shown below are logged by the OpenTelemetry collector's
prometheusexporter every 30 seconds, interleaved with otherdebugoutput showing that metric datapoints were received.Steps to Reproduce
ENABLE_OTEL: trueENABLE_OTEL_METRICS: trueOTEL_EXPORTER_OTLP_ENDPOINT: https://otel-gateway-collector.observability.svc.cluster.local:4317OpenTelemetryCollectorCR) withdebugandprometheusexporters.otel-gateway-collectorpod logs and confirm output is quiet.Logs & Screenshots
Additional Information
From the Open WebUI container:
The above
grepoutput shows that instrumentation ofhttp_server_duration_millisecondsviaopentelemetry.instrumentation.asgiemits "Measures the duration of inbound HTTP requests." as the metric description, while Open WebUI uses "HTTP request duration" as the description.It appears that multiple series of the
http_server_duration_millisecondsmetric are being emitted by Open WebUI (seeotel_scope_namevalues "opentelemetry.instrumentation.fastapi" and "open_webui.utils.telemetry.metrics" below), but with inconsistent descriptions: