Class WavefrontProperties
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the API token or throws an exception if the API token is mandatory.Returns the effective URI of the wavefront instance.getUri()
void
setApiToken
(String apiToken) void
void
-
Constructor Details
-
WavefrontProperties
public WavefrontProperties()
-
-
Method Details
-
getApplication
-
getSender
-
getMetrics
-
getUri
-
setUri
-
getSource
-
setSource
-
getApiToken
-
setApiToken
-
getEffectiveUri
Returns the effective URI of the wavefront instance. This will not be the same URI given throughsetUri(URI)
when a proxy is used.- Returns:
- the effective URI of the wavefront instance
-
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
-