public interface MetricFilter
| Modifier and Type | Field and Description |
|---|---|
static MetricFilter |
ALL
Matches all metrics, regardless of type or name.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricFilter |
contains(String substring) |
static MetricFilter |
endsWith(String suffix) |
boolean |
matches(MetricName name,
Metric metric)
Returns
true if the metric matches the filter; false otherwise. |
static MetricFilter |
startsWith(String prefix) |
static final MetricFilter ALL
static MetricFilter startsWith(String prefix)
static MetricFilter endsWith(String suffix)
static MetricFilter contains(String substring)
boolean matches(MetricName name, Metric metric)
true if the metric matches the filter; false otherwise.name - the metric's namemetric - the metrictrue if the metric matches the filterCopyright © 2018. All Rights Reserved.