Track Function • Rust AI Agent SDK

track_function: Track a function call.

track_function

Method

</div>

This is a method of the PerformanceMonitor class in the telemetry module.

Track a function call.

Signature

python
def track_function(&self, name: &str, duration: Duration) -> ()

Parameters

ParamField &str

No description available.

ParamField Duration

No description available.

Returns

ResponseField ()

The result of the operation.