pub trait MetricsExporter<S> {
// Required method
fn export(&self, snapshot: &S);
}Expand description
Export/publish metrics to production monitoring backends.
Consumes a snapshot produced by MetricsSnapshotProvider::snapshot
and writes it to an external system (e.g. Prometheus, StatsD).