public static class JmxReporterConfig.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
JmxReporterConfig.Builder |
blockedStartsWithFilters(Set<String> blockedStartsWithFilters)
Sets the blacklist filters to be applied to metric names.
|
JmxReporterConfig |
build() |
JmxReporterConfig.Builder |
enableReporter(boolean enableReporter)
Indicates whether the reporter should be enabled or not.
|
JmxReporterConfig.Builder |
startsWithFilters(Set<String> startsWithFilters)
Sets the whitelist filters to be applied to metric names.
|
public JmxReporterConfig.Builder enableReporter(boolean enableReporter)
enableReporter - indicates whether the reporter should be enabled or not.public JmxReporterConfig.Builder startsWithFilters(Set<String> startsWithFilters)
MetricNamingUtil.SEPARATOR and multiple wildcards denoted as
*.startsWithFilters - whitelist filters to be applied to metric names.public JmxReporterConfig.Builder blockedStartsWithFilters(Set<String> blockedStartsWithFilters)
MetricNamingUtil.SEPARATOR and multiple wildcards denoted as
*.blockedStartsWithFilters - blacklist filters to be applied to metric names.public JmxReporterConfig build()
Copyright © 2016–2018. All rights reserved.