Get Monitor • Rust AI Agent SDK

get_monitor: Get the global performance monitor.

get_monitor

Function

</div>

This function is defined in the telemetry module.

Get the global performance monitor.

Signature

python
def get_monitor() -> &'static PerformanceMonitor

Returns

ResponseField &'static PerformanceMonitor

The result of the operation.

Uses

  • get_or_init

Source

View on GitHub

praisonai/src/telemetry/mod.rs at line 462