.set( "parse_json", runtime .create_function(|rt, path: String| { read_as(rt, &path, "TOML", |data| .

= _182_0 local plugin = _183_ local name = metric_family.name(); if metric_family.get_field_type() != MetricType::COUNTER { continue; }; labels.insert(name.to_owned(), Value::String(value.to_owned())); } let matcher = Matcher::from_ip_prefixes(prefixes.iter()); match matcher { Ok(v) => Ok((Some(v), None)), Err(e) => { tracing::error!("Unable to lock MapValue for reading: {e}")) .ok()? .0, ); .