Skip to content

Commit 39fbb76

Browse files
Merge pull request #974 from MervinPraison/claude/pr-965-20250716-2356
fix: make TelemetryCollector.stop() consistent with shutdown behavior
2 parents 24618a4 + 694fcc2 commit 39fbb76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/praisonai-agents/praisonaiagents/telemetry/telemetry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ def start(self):
354354
pass
355355

356356
def stop(self):
357-
"""Stop telemetry collection and flush data."""
358-
self.telemetry.flush()
357+
"""Stop telemetry collection and properly shutdown."""
358+
self.telemetry.shutdown()
359359

360360
def trace_agent_execution(self, agent_name: str, **attributes):
361361
"""Compatibility method for agent execution tracking."""

0 commit comments

Comments
 (0)