Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-gtokernliang committed Dec 12, 2024
1 parent ed45a0e commit fdfab9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/trulens/experimental/otel_tracing/core/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from opentelemetry import trace
from opentelemetry.sdk.resources import Resource
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor
from opentelemetry.sdk.trace.export import ConsoleSpanExporter
from opentelemetry.sdk.trace.export import SimpleSpanProcessor
from trulens.core.session import TruSession
Expand Down Expand Up @@ -51,5 +50,5 @@ def init(session: TruSession, debug: bool = False):

# Add the TruLens database exporter
db_exporter = TruLensDBSpanExporter(session.connector)
db_processor = BatchSpanProcessor(db_exporter)
db_processor = SimpleSpanProcessor(db_exporter)
provider.add_span_processor(db_processor)

0 comments on commit fdfab9e

Please sign in to comment.