Prechádzať zdrojové kódy

refac/fix: remove insecure arg for otel http exporter

Timothy Jaeryang Baek 2 mesiacov pred
rodič
commit
d8b80caff3

+ 0 - 1
backend/open_webui/utils/telemetry/setup.py

@@ -42,7 +42,6 @@ def setup(app: FastAPI, db_engine: Engine):
     if OTEL_OTLP_SPAN_EXPORTER == "http":
         exporter = HttpOTLPSpanExporter(
             endpoint=OTEL_EXPORTER_OTLP_ENDPOINT,
-            insecure=OTEL_EXPORTER_OTLP_INSECURE,
             headers=headers,
         )
     else: