mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac/fix: remove insecure arg for otel http exporter
This commit is contained in:
parent
a26607c720
commit
d8b80caff3
1 changed files with 0 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue