"type": "linear" }, "showPoints": "auto.

"ipv4" => BLOCK_METRICS .with_label_values(&["ipv6"]) .inc_by(block.value as u64), _ => unreachable!(), } } } #[derive(Clone)] pub(crate) struct LabeledIntCounterVec { fn into_global(v: $type) -> Self { Self { Self { Self(r.into()) } } } } impl From<Arc<str>> for MapValue { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { let opts = Opts::new(name.as_ref(), desc.as_ref()); let metric_labels: Vec<_> = labels.iter().map(AsRef::as_ref).collect(); let counter = match m.0.read() { Ok(m) => { variant_accessor_lib!($variant.