ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.additionalFields(java.util.Map<java.lang.String,?> additionalFields) |
Additional fields to be included for each metric
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.bulkSize(int bulkSize) |
The bulk size per request, defaults to 2500 (as metrics are quite small)
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.convertDurationsTo(java.util.concurrent.TimeUnit durationUnit) |
Convert all the durations to a certain timeunit, defaults to milliseconds
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.convertRatesTo(java.util.concurrent.TimeUnit rateUnit) |
Convert all the rates to a certain timeunit, defaults to seconds
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.filter(com.codahale.metrics.MetricFilter filter) |
Allows to configure a special MetricFilter, which defines what metrics are reported
|
static ElasticsearchReporter.Builder |
ElasticsearchReporter.forRegistry(com.codahale.metrics.MetricRegistry registry) |
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.hosts(java.lang.String... hosts) |
Configure an array of hosts to send data to.
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.index(java.lang.String index) |
The index name to index in
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.indexDateFormat(java.lang.String indexDateFormat) |
The index date format used for rolling indices
This is appended to the index name, split by a '-'
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.percolationFilter(com.codahale.metrics.MetricFilter percolationFilter) |
A metrics filter to define the metrics which should be used for percolation/notification
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.percolationNotifier(Notifier notifier) |
An instance of the notifier implemention which should be executed in case of a matching percolation
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.prefixedWith(java.lang.String prefix) |
Configure a prefix for each metric name.
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.timeout(int timeout) |
The timeout to wait for until a connection attempt is and the next host is tried
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.timestampFieldname(java.lang.String fieldName) |
Configure the name of the timestamp field, defaults to '@timestamp'
|
ElasticsearchReporter.Builder |
ElasticsearchReporter.Builder.withClock(com.codahale.metrics.Clock clock) |
Inject your custom definition of how time passes.
|