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

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

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

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

Implementors