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(String 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)
Copyright © 2011. All rights reserved.