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
static enum
Wavefront token type. -
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()
com.wavefront.sdk.common.clients.service.token.TokenService.Type
Returns theWavefront token type
.void
setApiToken
(String apiToken) void
setApiTokenType
(WavefrontProperties.TokenType apiTokenType) void
void
setTraceDerivedCustomTagKeys
(Set<String> traceDerivedCustomTagKeys) 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
-
getTraceDerivedCustomTagKeys
-
setTraceDerivedCustomTagKeys
-
getApiTokenType
-
setApiTokenType
-
getWavefrontApiTokenType
public com.wavefront.sdk.common.clients.service.token.TokenService.Type getWavefrontApiTokenType()Returns theWavefront token type
.- Returns:
- the Wavefront token type
- Since:
- 3.2.0
-