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