Class StatsdProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.statsd.StatsdProperties
@ConfigurationProperties(prefix="management.statsd.metrics.export")
public class StatsdProperties
extends Object
@ConfigurationProperties
for configuring StatsD metrics
export.- Since:
- 2.0.0
- Author:
- Jon Schneider, Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.statsd.StatsdFlavor
getHost()
getPort()
io.micrometer.statsd.StatsdProtocol
getStep()
boolean
boolean
boolean
void
setBuffered
(boolean buffered) void
setEnabled
(boolean enabled) void
setFlavor
(io.micrometer.statsd.StatsdFlavor flavor) void
void
setMaxPacketLength
(Integer maxPacketLength) void
setPollingFrequency
(Duration pollingFrequency) void
void
setProtocol
(io.micrometer.statsd.StatsdProtocol protocol) void
setPublishUnchangedMeters
(boolean publishUnchangedMeters) void
-
Constructor Details
-
StatsdProperties
public StatsdProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getFlavor
public io.micrometer.statsd.StatsdFlavor getFlavor() -
setFlavor
public void setFlavor(io.micrometer.statsd.StatsdFlavor flavor) -
getHost
-
setHost
-
getPort
-
setPort
-
getProtocol
public io.micrometer.statsd.StatsdProtocol getProtocol() -
setProtocol
public void setProtocol(io.micrometer.statsd.StatsdProtocol protocol) -
getMaxPacketLength
-
setMaxPacketLength
-
getPollingFrequency
-
setPollingFrequency
-
getStep
-
setStep
-
isPublishUnchangedMeters
public boolean isPublishUnchangedMeters() -
setPublishUnchangedMeters
public void setPublishUnchangedMeters(boolean publishUnchangedMeters) -
isBuffered
public boolean isBuffered() -
setBuffered
public void setBuffered(boolean buffered)
-