@ConfigurationProperties(prefix="management.metrics.export.graphite") public class GraphiteProperties extends Object
@ConfigurationProperties
for configuring Graphite
metrics export.Constructor and Description |
---|
GraphiteProperties() |
Modifier and Type | Method and Description |
---|---|
TimeUnit |
getDurationUnits() |
Boolean |
getGraphiteTagsEnabled() |
String |
getHost() |
Integer |
getPort() |
io.micrometer.graphite.GraphiteProtocol |
getProtocol() |
TimeUnit |
getRateUnits() |
Duration |
getStep() |
String[] |
getTagsAsPrefix() |
boolean |
isEnabled() |
void |
setDurationUnits(TimeUnit durationUnits) |
void |
setEnabled(boolean enabled) |
void |
setGraphiteTagsEnabled(Boolean graphiteTagsEnabled) |
void |
setHost(String host) |
void |
setPort(Integer port) |
void |
setProtocol(io.micrometer.graphite.GraphiteProtocol protocol) |
void |
setRateUnits(TimeUnit rateUnits) |
void |
setStep(Duration step) |
void |
setTagsAsPrefix(String[] tagsAsPrefix) |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public Duration getStep()
public void setStep(Duration step)
public TimeUnit getRateUnits()
public void setRateUnits(TimeUnit rateUnits)
public TimeUnit getDurationUnits()
public void setDurationUnits(TimeUnit durationUnits)
public String getHost()
public void setHost(String host)
public Integer getPort()
public void setPort(Integer port)
public io.micrometer.graphite.GraphiteProtocol getProtocol()
public void setProtocol(io.micrometer.graphite.GraphiteProtocol protocol)
public Boolean getGraphiteTagsEnabled()
public void setGraphiteTagsEnabled(Boolean graphiteTagsEnabled)
public String[] getTagsAsPrefix()
public void setTagsAsPrefix(String[] tagsAsPrefix)