Trait dipstick::WithNamespace
[−]
[src]
pub trait WithNamespace where
Self: Sized, { fn with_namespace(&self, names: &[&str]) -> Self; fn with_prefix<AS: AsRef<str>>(&self, prefix: AS) -> Self { ... } }
Prepend metric names with custom prefix.
Required Methods
fn with_namespace(&self, names: &[&str]) -> Self
Join namespace and prepend in newly defined metrics.
Provided Methods
fn with_prefix<AS: AsRef<str>>(&self, prefix: AS) -> Self
Insert prefix in newly defined metrics.