custom • Rust AI Agent SDK
custom: Add a custom metric
custom
Method
</div>
This is a method of the AgentMetrics class in the protocols module.
Add a custom metric
Signature
def custom(mut self, key: impl Into<String>, value: f64) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
f64No description available.
Returns
ResponseField
SelfThe result of the operation.