[][src]Trait metrics_tracing_context::label_filter::LabelFilter

pub trait LabelFilter {
    pub fn should_include_label(&self, label: &Label) -> bool;
}

LabelFilter trait encapsulates the ability to filter labels, i.e. determining whether a particular span field should be included as a label or not.

Required methods

pub fn should_include_label(&self, label: &Label) -> bool[src]

Returns true if the passed label should be included in the key.

Loading content...

Implementors

impl LabelFilter for IncludeAll[src]

Loading content...