fn metric(
metric_type: MetricType,
key: &Key,
value: f64,
unit: Option<Unit>,
) -> SentryMetricExpand description
Returns the metric to send for value under key, with the key’s labels as attributes.
fn metric(
metric_type: MetricType,
key: &Key,
value: f64,
unit: Option<Unit>,
) -> SentryMetricReturns the metric to send for value under key, with the key’s labels as attributes.