[][src]Function casperlabs_engine_shared::logging::log_metric

pub fn log_metric(
    correlation_id: CorrelationId,
    metric: &str,
    tag: &str,
    metric_key: &str,
    metric_value: f64
)

Logs the details of the specified metric.

Arguments

  • correlation_id - a shared identifier used to group metrics
  • metric - the name of the metric
  • tag - a grouping tag for the metric
  • metric_key - property key for metric's value
  • metric_value - numeric value of metric