mirror of
https://github.com/open-webui/open-webui
synced 2025-06-22 18:07:17 +00:00
Fix Typo in usage of exporter
This commit is contained in:
parent
3600e10ee6
commit
4eb9597bb0
@ -38,7 +38,7 @@ def setup(app: FastAPI, db_engine: Engine):
|
|||||||
|
|
||||||
# otlp export
|
# otlp export
|
||||||
if USE_OTEL_HTTP_EXPORTER:
|
if USE_OTEL_HTTP_EXPORTER:
|
||||||
exporter = OTLPSpanExporter(
|
exporter = HttpOTLPSpanExporter(
|
||||||
endpoint=OTEL_EXPORTER_OTLP_ENDPOINT,
|
endpoint=OTEL_EXPORTER_OTLP_ENDPOINT,
|
||||||
insecure=OTEL_EXPORTER_OTLP_INSECURE,
|
insecure=OTEL_EXPORTER_OTLP_INSECURE,
|
||||||
headers=headers,
|
headers=headers,
|
||||||
|
Loading…
Reference in New Issue
Block a user