public static class CodaHaleMetricsModule.Config.Csv
extends java.lang.Object
| Constructor and Description |
|---|
Csv() |
| Modifier and Type | Method and Description |
|---|---|
CodaHaleMetricsModule.Config.Csv |
enable(boolean enabled)
Set the state of the CSV publisher.
|
CodaHaleMetricsModule.Config.Csv |
excludeFilter(java.lang.String excludeFilter)
Set the exclude metric filter expression of the reporter.
|
java.lang.String |
getExcludeFilter()
The exclude metric filter expression of the reporter.
|
java.lang.String |
getIncludeFilter()
The include metric filter expression of the reporter.
|
java.io.File |
getReportDirectory()
The directory to output CSV metrics reports to.
|
java.time.Duration |
getReporterInterval()
The interval between metrics reports.
|
CodaHaleMetricsModule.Config.Csv |
includeFilter(java.lang.String includeFilter)
Set the include metric filter expression of the reporter.
|
boolean |
isEnabled()
The state of the CSV publisher.
|
CodaHaleMetricsModule.Config.Csv |
reportDirectory(java.io.File reportDirectory)
Configure the output directory for csv metrics reports.
|
CodaHaleMetricsModule.Config.Csv |
reporterInterval(java.time.Duration reporterInterval)
Configure the interval between metrics reports.
|
public boolean isEnabled()
public CodaHaleMetricsModule.Config.Csv enable(boolean enabled)
enabled - True if metrics are published to CSV. False otherwisepublic java.lang.String getIncludeFilter()
public CodaHaleMetricsModule.Config.Csv includeFilter(java.lang.String includeFilter)
includeFilter - the regular expression to match on.thispublic java.lang.String getExcludeFilter()
public CodaHaleMetricsModule.Config.Csv excludeFilter(java.lang.String excludeFilter)
excludeFilter - the regular expression to match on.thispublic java.time.Duration getReporterInterval()
public CodaHaleMetricsModule.Config.Csv reporterInterval(java.time.Duration reporterInterval)
reporterInterval - the report intervalpublic java.io.File getReportDirectory()
public CodaHaleMetricsModule.Config.Csv reportDirectory(java.io.File reportDirectory)
reportDirectory - The directory to place csv metrics reports