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
fn should_include_label(&self, label: &Label) -> bool
[src]
fn should_include_label(&self, label: &Label) -> bool
[src]Returns true
if the passed label should be included in the key.
Implementors
impl LabelFilter for IncludeAll
[src]
impl LabelFilter for IncludeAll
[src]