public class CsvReporterFactory extends BaseFormattedReporterFactory
CsvReporter
instances.
Configuration Parameters:
Name | Default | Description |
file | No default. You must define a directory. | The directory where the csv metrics will be written. If the directory does not exist on startup, an attempt will be made to create it and any parent directories as necessary. If this operation fails dropwizard will fail on startup, but it may have succeeded in creating some of the necessary parent directories. |
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, setLocale
getDisabledAttributes, getDurationUnit, getExcludes, getExcludesAttributes, getFilter, getFrequency, getIncludes, getIncludesAttributes, getRateUnit, getUseRegexFilters, getUseSubstringMatching, setDurationUnit, setExcludes, setExcludesAttributes, setFrequency, setIncludes, setIncludesAttributes, setRateUnit, setUseRegexFilters, setUseSubstringMatching
public com.codahale.metrics.ScheduledReporter build(com.codahale.metrics.MetricRegistry registry)
ReporterFactory
ScheduledReporter
instance for the given registry.registry
- the metrics registry to report metrics from.Copyright © 2011. All rights reserved.