Class ElasticProperties
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryProperties
- org.springframework.boot.actuate.autoconfigure.metrics.export.elastic.ElasticProperties
@ConfigurationProperties(prefix="management.metrics.export.elastic") public class ElasticProperties extends StepRegistryProperties
ConfigurationProperties
for configuring Elastic metrics export.- Since:
- 2.1.0
Constructor Summary
Constructors Constructor Description ElasticProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHost()
String
getIndex()
String
getIndexDateFormat()
String
getPassword()
String
getTimestampFieldName()
String
getUserName()
boolean
isAutoCreateIndex()
void
setAutoCreateIndex(boolean autoCreateIndex)
void
setHost(String host)
void
setIndex(String index)
void
setIndexDateFormat(String indexDateFormat)
void
setPassword(String password)
void
setTimestampFieldName(String timestampFieldName)
void
setUserName(String userName)
Methods inherited from class org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryProperties
getBatchSize, getConnectTimeout, getNumThreads, getReadTimeout, getStep, isEnabled, setBatchSize, setConnectTimeout, setEnabled, setNumThreads, setReadTimeout, setStep
Constructor Detail
ElasticProperties
public ElasticProperties()
Method Detail
getIndexDateFormat
public String getIndexDateFormat()
setIndexDateFormat
public void setIndexDateFormat(String indexDateFormat)
getTimestampFieldName
public String getTimestampFieldName()
setTimestampFieldName
public void setTimestampFieldName(String timestampFieldName)
isAutoCreateIndex
public boolean isAutoCreateIndex()
setAutoCreateIndex
public void setAutoCreateIndex(boolean autoCreateIndex)
getUserName
public String getUserName()
setUserName
public void setUserName(String userName)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)