proxy_wasm::hostcalls

Function define_metric

Source
pub fn define_metric(metric_type: MetricType, name: &str) -> Result<u32, Status>