Track Function • Rust AI Agent SDK
track_function: Track a function call on the global monitor.
track_function
Function
</div>
This function is defined in the telemetry module.
Track a function call on the global monitor.
Signature
def track_function(name: &str, duration: Duration) -> ()Parameters
ParamField
&strNo description available.
ParamField
DurationNo description available.
Returns
ResponseField
()The result of the operation.
Uses
get_monitortrack_function
Source
View on GitHubpraisonai/src/telemetry/mod.rs at line 472