| Modifier and Type | Method and Description |
|---|---|
ElasticReporterConfig |
ElasticReporterConfig.addTag(String key,
String value)
Add a name value pair to include in each metric entry.
|
ElasticReporterConfig |
ElasticReporterConfig.setClient(okhttp3.OkHttpClient client)
Set the client to use (If not set one will be created).
|
ElasticReporterConfig |
ElasticReporterConfig.setConnectTimeout(int connectTimeout)
Set the connect timeout in seconds.
|
ElasticReporterConfig |
ElasticReporterConfig.setIndexPrefix(String indexPrefix)
Set the index name prefix (defaults to "metric-").
|
ElasticReporterConfig |
ElasticReporterConfig.setIndexType(String indexType)
Set the index type.
|
ElasticReporterConfig |
ElasticReporterConfig.setNameField(String nameField)
Set the name of the field that holds the metric name.
|
ElasticReporterConfig |
ElasticReporterConfig.setReadTimeout(int readTimeout)
Set the read timeout in seconds.
|
ElasticReporterConfig |
ElasticReporterConfig.setTags(Map<String,String> tags) |
ElasticReporterConfig |
ElasticReporterConfig.setTimestampField(String timestampField)
Set the name of the timestamp field.
|
ElasticReporterConfig |
ElasticReporterConfig.setTypeField(String typeField)
Set the name of the metric type field (defaults to "type").
|
ElasticReporterConfig |
ElasticReporterConfig.setUrl(String url)
Set the base url for the ElasticSearch instance.
|
ElasticReporterConfig |
ElasticReporterConfig.setWriteTimeout(int writeTimeout)
Set the write timeout in seconds.
|
| Constructor and Description |
|---|
ElasticHttpReporter(ElasticReporterConfig config) |
Copyright © 2017. All rights reserved.