Package org.eclipse.microprofile.metrics
Interface MetricFilter
public interface MetricFilter
A filter used to determine whether or not a metric should be reported, among other things.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MetricFilter
Matches all metrics, regardless of type or name. -
Method Summary
-
Field Details
-
ALL
Matches all metrics, regardless of type or name.
-
-
Method Details
-
matches
Returnstrue
if the metric matches the filter;false
otherwise.- Parameters:
name
- the metric's namemetric
- the metric- Returns:
true
if the metric matches the filter
-