This commit is contained in:
Timothy Jaeryang Baek
2025-03-11 18:55:30 +00:00
parent 7bfda6652f
commit 396c28817c
8 changed files with 9 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ from requests import PreparedRequest, Response
from sqlalchemy import Engine
from fastapi import status
from open_webui.utils.trace.constants import SPAN_REDIS_TYPE, SpanAttributes
from open_webui.utils.telemetry.constants import SPAN_REDIS_TYPE, SpanAttributes
from open_webui.env import SRC_LOG_LEVELS

View File

@@ -5,8 +5,8 @@ from opentelemetry.sdk.resources import SERVICE_NAME, Resource
from opentelemetry.sdk.trace import TracerProvider
from sqlalchemy import Engine
from open_webui.utils.trace.exporters import LazyBatchSpanProcessor
from open_webui.utils.trace.instrumentors import Instrumentor
from open_webui.utils.telemetry.exporters import LazyBatchSpanProcessor
from open_webui.utils.telemetry.instrumentors import Instrumentor
from open_webui.env import OTEL_SERVICE_NAME, OTEL_EXPORTER_OTLP_ENDPOINT