Skip to main content

custom

Method
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) -> Self

Parameters

key
impl Into<String>
required
No description available.
value
f64
required
No description available.

Returns

Returns
Self
The result of the operation.