Skip to main content

metric

Function metric 

Source
fn metric(
    metric_type: MetricType,
    key: &Key,
    value: f64,
    unit: Option<Unit>,
) -> SentryMetric
Expand description

Returns the metric to send for value under key, with the key’s labels as attributes.