pub trait MetricsRecorder:
Send
+ Sync
+ 'static {
// Required methods
fn increment(&self, name: &str, value: u64, tags: &MetricTags);
fn record(&self, name: &str, value: f64, tags: &MetricTags);
}Expand description
Pluggable, thread-safe recorder. Counter increments are counts; records are seconds.