telemetry
Rust AI Agent SDK Telemetry Module for PraisonAI Rust SDK. Provides performance monitoring and telemetry capabilities.Example
Import
Classes
FunctionStats
Statistics for a tracked function.
ApiStats
Statistics for API calls.
PerformanceMonitor
Performance monitor for tracking function and API performance.
PerformanceReport
Performance report.
TelemetryEvent
A telemetry event.
TelemetryCollector
Telemetry collector.
TelemetryEventType
Event types for telemetry.
Functions
get_monitor()
Get the global performance monitor.
get_collector()
Get the global telemetry collector.
track_function()
Track a function call on the global monitor.
track_api()
Track an API call on the global monitor.
record_event()
Record a telemetry event.
get_performance_report()
Get the global performance report.

