EMPTY_TAGS

Constant EMPTY_TAGS 

Source
pub const EMPTY_TAGS: &[&str];
Expand description

Helper constant for passing no tags to a metric.

This is a workaround for passing in &[] as a tag list, which is not possible due to type inference rules as the compiler can’t work out the type inside the empty slice.