mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 21:09:41 -05:00
[GH-ISSUE #17001] issue: RedisInstrumentor does not support Redis Sentinel #33662
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 @Salamastik on GitHub (Aug 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17001
Check Existing Issues
Installation Method
Other
Open WebUI Version
0.6.18
Ollama Version (if applicable)
No response
Operating System
debian gnu/linux 12
Browser (if applicable)
111.0.5563.65
Confirmation
README.md.Expected Behavior
OpenTelemetry should collect Redis metrics and traces normally, whether Redis is running in Cluster or Sentinel mode.
Actual Behavior
When configuring OpenWebUI to use Redis Sentinel instead of Redis Cluster, OpenTelemetry starts producing warnings. The same OTEL setup works fine with Redis Cluster.
This indicates that OTEL currently lacks proper support for Redis Sentinel connections.
With Redis Sentinel → OTEL logs continuous warnings (likely due to missing attributes in instrumentations.py).
Steps to Reproduce
When using Redis Sentinel the RedisInstrumentor from opentelemetry-instrumentation-redis fails and produces repeated WARN logs.
OpenWebUI version: 0.6.18 Deployment: Helm (7.6.0)
Installed Redis using the Bitnami Helm chart:
Chart: bitnami/redis-sentinel 21.1.6
Image: bitnami/redis-sentinel:8.0.1-debian-12.r1
Updated OpenWebUI configuration to connect via Sentinel (REDIS_SENTINEL_HOST, REDIS_SENTINEL_PORT, REDIS_SENTINEL_SERVICE, REDIS_URL).
OpenWebUI successfully connected to Redis Sentinel.
However, OpenTelemetry started generating warnings that were not present before (when using Redis Cluster).
Tried using OTEL environment variables such as OTEL_PYTHON_DISABLED_INSTRUMENTATIONS=redis, but the warnings persisted.
Logs & Screenshots
WARNING opentelemetry.attributes:_clean_attribute:111 invalid type NoneType for attribute 'db.ip' value. Expected one of ['bool', 'str', 'bytes', 'float'] or a sequence of those types.
Additional Information
Please add official OpenTelemetry support for Redis Sentinel in OpenWebUI.
This will ensure consistent observability for setups that rely on Sentinel for high availability, just like with Redis Cluster.
@tjbck commented on GitHub (Aug 28, 2025):
PR welcome.