From 8daf42fdf1e59d905cbd138d0334e313f5f1241c Mon Sep 17 00:00:00 2001 From: Garett Tok Ern Liang Date: Thu, 2 Jan 2025 16:32:08 -0500 Subject: [PATCH] nits --- examples/experimental/otel_exporter.ipynb | 11 ----------- .../experimental/otel_tracing/core/exporter.py | 2 -- 2 files changed, 13 deletions(-) diff --git a/examples/experimental/otel_exporter.ipynb b/examples/experimental/otel_exporter.ipynb index 603b87340..8ec786506 100644 --- a/examples/experimental/otel_exporter.ipynb +++ b/examples/experimental/otel_exporter.ipynb @@ -98,17 +98,6 @@ " return \"nested3\"" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "from opentelemetry import trace\n", - "\n", - "tracer = trace.get_tracer_provider().get_tracer(\"Cows\")" - ] - }, { "cell_type": "code", "execution_count": null, diff --git a/src/core/trulens/experimental/otel_tracing/core/exporter.py b/src/core/trulens/experimental/otel_tracing/core/exporter.py index 6d42c2901..9c44b9eeb 100644 --- a/src/core/trulens/experimental/otel_tracing/core/exporter.py +++ b/src/core/trulens/experimental/otel_tracing/core/exporter.py @@ -36,8 +36,6 @@ def _construct_event(self, span: ReadableSpan) -> event_schema.Event: if context is None: raise ValueError("Span context is None") - print(span.attributes) - return event_schema.Event( event_id=str(context.span_id), record={