From 4fd051afb139fe779cd1c8a3c571dedadd2394ea Mon Sep 17 00:00:00 2001 From: Pratyush Shukla Date: Tue, 7 Jan 2025 21:06:15 +0530 Subject: [PATCH] use `_span_processor` instead of `_otel_exporter` --- tests/test_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_session.py b/tests/test_session.py index 4bbfb31d4..9b81ca5e7 100644 --- a/tests/test_session.py +++ b/tests/test_session.py @@ -392,7 +392,7 @@ def setup_method(self): agentops.init(api_key=self.api_key, max_wait_time=50, auto_start_session=False) self.session = agentops.start_session() assert self.session is not None # Verify session was created - self.exporter = self.session._otel_exporter + self.exporter = self.session._span_processor def teardown_method(self): """Clean up after each test"""