public class CsvReporterFactory extends BaseFormattedReporterFactory
CsvReporter instances.
Configuration Parameters:
| Name | Default | Description |
| file | No default. You must define a file. | The CSV file to write metrics to. |
See BaseFormattedReporterFactory for more options. |
||
See BaseReporterFactory for more options. |
||
| Constructor and Description |
|---|
CsvReporterFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.ScheduledReporter |
build(com.codahale.metrics.MetricRegistry registry)
Configures and builds a
ScheduledReporter instance for the given registry. |
File |
getFile() |
void |
setFile(File file) |
getLocale, setLocalegetDurationUnit, getExcludes, getFilter, getFrequency, getIncludes, getRateUnit, setDurationUnit, setExcludes, setFrequency, setIncludes, setRateUnitpublic File getFile()
public void setFile(File file)
public com.codahale.metrics.ScheduledReporter build(com.codahale.metrics.MetricRegistry registry)
ReporterFactoryScheduledReporter instance for the given registry.registry - the metrics registry to report metrics from.Copyright © 2014. All rights reserved.