Class ElasticProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryProperties
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryProperties
org.springframework.boot.actuate.autoconfigure.metrics.export.elastic.ElasticProperties
@ConfigurationProperties(prefix="management.elastic.metrics.export")
public class ElasticProperties
extends StepRegistryProperties
@ConfigurationProperties
for configuring Elastic
metrics export.- Since:
- 2.1.0
- Author:
- Andy Wilkinson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()
getIndex()
boolean
boolean
void
setApiKeyCredentials
(String apiKeyCredentials) void
setAutoCreateIndex
(boolean autoCreateIndex) void
setEnableSource
(boolean enableSource) void
void
void
setIndexDateFormat
(String indexDateFormat) void
setIndexDateSeparator
(String indexDateSeparator) void
setPassword
(String password) void
setPipeline
(String pipeline) void
setTimestampFieldName
(String timestampFieldName) void
setUserName
(String userName) Methods inherited from class org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryProperties
getBatchSize, getConnectTimeout, getReadTimeout, getStep, isEnabled, setBatchSize, setConnectTimeout, setEnabled, setReadTimeout, setStep
-
Constructor Details
-
ElasticProperties
public ElasticProperties()
-
-
Method Details
-
getHost
-
setHost
-
getIndex
-
setIndex
-
getIndexDateFormat
-
setIndexDateFormat
-
getIndexDateSeparator
-
setIndexDateSeparator
-
getTimestampFieldName
-
setTimestampFieldName
-
isAutoCreateIndex
public boolean isAutoCreateIndex() -
setAutoCreateIndex
public void setAutoCreateIndex(boolean autoCreateIndex) -
getUserName
-
setUserName
-
getPassword
-
setPassword
-
getPipeline
-
setPipeline
-
getApiKeyCredentials
-
setApiKeyCredentials
-
isEnableSource
public boolean isEnableSource() -
setEnableSource
public void setEnableSource(boolean enableSource)
-