pub fn event_from_sample( metric: &str, value: f64, tags: &[(&str, &str)], ) -> MetricEvent
Create event from performance sample