public static class CodaHaleMetricsModule.Config.Console extends Object
Constructor and Description |
---|
Console() |
Modifier and Type | Method and Description |
---|---|
CodaHaleMetricsModule.Config.Console |
enable(boolean enabled)
Set the state of the Console publisher.
|
CodaHaleMetricsModule.Config.Console |
excludeFilter(String excludeFilter)
Set the exclude metric filter expression of the reporter.
|
String |
getExcludeFilter()
The exclude metric filter expression of the reporter.
|
String |
getIncludeFilter()
The include metric filter expression of the reporter.
|
Duration |
getReporterInterval()
The interval between metrics reports.
|
CodaHaleMetricsModule.Config.Console |
includeFilter(String includeFilter)
Set the include metric filter of the reporter.
|
boolean |
isEnabled()
The state of the Console publisher.
|
CodaHaleMetricsModule.Config.Console |
reporterInterval(Duration reporterInterval)
Configure the interval between metrics reports.
|
public boolean isEnabled()
public CodaHaleMetricsModule.Config.Console enable(boolean enabled)
enabled
- True if metrics are published to the console. False otherwisethis
public String getIncludeFilter()
public CodaHaleMetricsModule.Config.Console includeFilter(String includeFilter)
includeFilter
- the regular expression to match on.this
public String getExcludeFilter()
public CodaHaleMetricsModule.Config.Console excludeFilter(String excludeFilter)
excludeFilter
- the regular expression to match on.this
public Duration getReporterInterval()
public CodaHaleMetricsModule.Config.Console reporterInterval(Duration reporterInterval)
reporterInterval
- the report interval