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 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

      public String getHost()
    • setHost

      public void setHost(String host)
    • getPort

      public Integer getPort()
    • setPort

      public void setPort(Integer port)
    • getProtocol

      public io.micrometer.statsd.StatsdProtocol getProtocol()
    • setProtocol

      public void setProtocol(io.micrometer.statsd.StatsdProtocol protocol)
    • getMaxPacketLength

      public Integer getMaxPacketLength()
    • setMaxPacketLength

      public void setMaxPacketLength(Integer maxPacketLength)
    • getPollingFrequency

      public Duration getPollingFrequency()
    • setPollingFrequency

      public void setPollingFrequency(Duration pollingFrequency)
    • getStep

      public Duration getStep()
    • setStep

      public void setStep(Duration step)
    • isPublishUnchangedMeters

      public boolean isPublishUnchangedMeters()
    • setPublishUnchangedMeters

      public void setPublishUnchangedMeters(boolean publishUnchangedMeters)
    • isBuffered

      public boolean isBuffered()
    • setBuffered

      public void setBuffered(boolean buffered)