@FunctionalInterface @Internal public interface MetricsFilter
MetricsConfiguration| Modifier and Type | Field and Description |
|---|---|
static MetricsFilter |
ACCEPT_ALL
A filter that guarantees the inclusion of all meters
|
static MetricsFilter |
DENY_ALL
A filter that guarantees the exclusion of all meters
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(String name) |
static MetricsFilter |
deny(Collection<String> names)
Metrics with the specified names should NOT be present in published metrics.
|
static MetricsFilter |
deny(String... names)
Metrics with the specified names should NOT be present in published metrics.
|
static final MetricsFilter ACCEPT_ALL
static final MetricsFilter DENY_ALL
static MetricsFilter deny(String... names)
names - When a metric name matches any of the specified values, it will be excluded from the published metrics.static MetricsFilter deny(Collection<String> names)
names - When a metric name matches any of the specified values, it will be excluded from the published metrics.boolean accepts(String name)
name - metrics nameCopyright © 2023 Atlassian. All rights reserved.