java.lang.Object
org.springframework.boot.actuate.autoconfigure.wavefront.WavefrontProperties

@ConfigurationProperties(prefix="management.wavefront") public class WavefrontProperties extends Object
Configuration properties to configure Wavefront.
Since:
3.0.0
Author:
Moritz Halbritter, Glenn Oppegard
  • Constructor Details

    • WavefrontProperties

      public WavefrontProperties()
  • Method Details

    • getApplication

      public WavefrontProperties.Application getApplication()
    • getSender

      public WavefrontProperties.Sender getSender()
    • getMetrics

      public WavefrontProperties.Metrics getMetrics()
    • getUri

      public URI getUri()
    • setUri

      public void setUri(URI uri)
    • getSource

      public String getSource()
    • setSource

      public void setSource(String source)
    • getApiToken

      public String getApiToken()
    • setApiToken

      public void setApiToken(String apiToken)
    • getEffectiveUri

      public URI getEffectiveUri()
      Returns the effective URI of the wavefront instance. This will not be the same URI given through setUri(URI) when a proxy is used.
      Returns:
      the effective URI of the wavefront instance
    • getApiTokenOrThrow

      public String getApiTokenOrThrow()
      Returns the API token or throws an exception if the API token is mandatory. If a proxy is used, the API token is optional.
      Returns:
      the API token
    • getSourceOrDefault

      public String getSourceOrDefault()