mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
refac
This commit is contained in:
parent
e1168139a6
commit
ad51b0166c
1 changed files with 1 additions and 0 deletions
|
|
@ -434,6 +434,7 @@ app.state.LICENSE_METADATA = None
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
if not ENABLE_OTEL:
|
if not ENABLE_OTEL:
|
||||||
|
if ENABLE_OTEL:
|
||||||
from open_webui.utils.telemetry.setup import setup as setup_opentelemetry
|
from open_webui.utils.telemetry.setup import setup as setup_opentelemetry
|
||||||
|
|
||||||
setup_opentelemetry(app=app, db_engine=engine)
|
setup_opentelemetry(app=app, db_engine=engine)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue