mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac/fix: remove insecure arg for otel http exporter
This commit is contained in:
@@ -42,7 +42,6 @@ def setup(app: FastAPI, db_engine: Engine):
|
|||||||
if OTEL_OTLP_SPAN_EXPORTER == "http":
|
if OTEL_OTLP_SPAN_EXPORTER == "http":
|
||||||
exporter = HttpOTLPSpanExporter(
|
exporter = HttpOTLPSpanExporter(
|
||||||
endpoint=OTEL_EXPORTER_OTLP_ENDPOINT,
|
endpoint=OTEL_EXPORTER_OTLP_ENDPOINT,
|
||||||
insecure=OTEL_EXPORTER_OTLP_INSECURE,
|
|
||||||
headers=headers,
|
headers=headers,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user