@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class MetricsFilter extends Object implements MetricsPlugin
MetricsSources or to filter metrics per
 MetricsSink.| Constructor and Description | 
|---|
| MetricsFilter() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract boolean | accepts(Iterable<MetricsTag> tags)Whether to accept the tags | 
| boolean | accepts(MetricsRecord record)Whether to accept the record | 
| abstract boolean | accepts(MetricsTag tag)Whether to accept the tag | 
| abstract boolean | accepts(String name)Whether to accept the name | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitpublic abstract boolean accepts(String name)
name - to filter onpublic abstract boolean accepts(MetricsTag tag)
tag - to filter onpublic abstract boolean accepts(Iterable<MetricsTag> tags)
tags - to filter onpublic boolean accepts(MetricsRecord record)
record - to filter onCopyright © 2023 Apache Software Foundation. All rights reserved.