Fix Typo in usage of exporter

This commit is contained in:
MKamel 2025-06-19 01:29:04 +03:00 committed by GitHub
parent 3600e10ee6
commit 4eb9597bb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ def setup(app: FastAPI, db_engine: Engine):
# otlp export
if USE_OTEL_HTTP_EXPORTER:
exporter = OTLPSpanExporter(
exporter = HttpOTLPSpanExporter(
endpoint=OTEL_EXPORTER_OTLP_ENDPOINT,
insecure=OTEL_EXPORTER_OTLP_INSECURE,
headers=headers,