public class CsvConfig extends Object
Constructor and Description |
---|
CsvConfig() |
Modifier and Type | Method and Description |
---|---|
CsvConfig |
enable(boolean enabled)
Set the state of the CSV publisher.
|
T |
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.
|
File |
getReportDirectory()
The directory to output CSV metrics reports to.
|
Duration |
getReporterInterval()
The interval between metrics reports.
|
T |
includeFilter(String includeFilter)
Set the include metric filter of the reporter.
|
boolean |
isEnabled()
The state of the CSV publisher.
|
CsvConfig |
reportDirectory(File reportDirectory)
Configure the output directory for csv metrics reports.
|
T |
reporterInterval(Duration reporterInterval)
Configure the interval between metrics reports.
|
public boolean isEnabled()
public CsvConfig enable(boolean enabled)
enabled
- True if metrics are published to CSV. False otherwisepublic File getReportDirectory()
public CsvConfig reportDirectory(File reportDirectory)
reportDirectory
- The directory to place csv metrics reportspublic Duration getReporterInterval()
public T reporterInterval(Duration reporterInterval)
reporterInterval
- the report intervalthis
public String getIncludeFilter()
public T includeFilter(String includeFilter)
includeFilter
- the regular expression to match on.this
public String getExcludeFilter()
public T excludeFilter(String excludeFilter)
excludeFilter
- the regular expression to match on.this