pub trait LabelFilter {
    fn should_include_label(&self, name: &KeyName, 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§
sourcefn should_include_label(&self, name: &KeyName, label: &Label) -> bool
 
fn should_include_label(&self, name: &KeyName, label: &Label) -> bool
Returns true if the passed label of the metric named name should
be included in the key.