Class StatsdProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.statsd.StatsdProperties
@ConfigurationProperties(prefix="management.metrics.export.statsd")
public class StatsdProperties
extends Object
@ConfigurationProperties
for configuring StatsD metrics
export.- Since:
- 2.0.0
- Author:
- Jon Schneider, Stephane Nicoll
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.statsd.StatsdFlavor
getHost()
getPort()
io.micrometer.statsd.StatsdProtocol
boolean
boolean
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)
-
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
-
isPublishUnchangedMeters
public boolean isPublishUnchangedMeters() -
setPublishUnchangedMeters
public void setPublishUnchangedMeters(boolean publishUnchangedMeters)
-