public interface AtlasConfig
extends com.netflix.spectator.api.RegistryConfig
| Modifier and Type | Method and Description |
|---|---|
default boolean |
autoStart()
Returns true if the registry should automatically start the background reporting threads
in the constructor.
|
default int |
batchSize()
Returns the number of measurements per request to use for the backend.
|
default Map<String,String> |
commonTags()
Returns the common tags to apply to all metrics reported to Atlas.
|
default Duration |
configRefreshFrequency()
Returns the frequency for refreshing config settings from the LWC service.
|
default Duration |
configTTL()
Returns the TTL for subscriptions from the LWC service.
|
default String |
configUri()
Returns the URI for the Atlas LWC endpoint to retrieve current subscriptions.
|
default Duration |
connectTimeout()
Returns the connection timeout for requests to the backend.
|
default com.netflix.spectator.api.Registry |
debugRegistry()
Returns a registry to use for recording metrics about the behavior of the AtlasRegistry.
|
default boolean |
enabled()
Returns true if publishing to Atlas is enabled.
|
default String |
evalUri()
Returns the URI for the Atlas LWC endpoint to evaluate the data for a suscription.
|
default long |
initialPollingDelay(com.netflix.spectator.api.Clock clock,
long stepSize)
Avoid collecting right on boundaries to minimize transitions on step longs
during a collection.
|
default boolean |
lwcEnabled()
Returns true if streaming to Atlas LWC is enabled.
|
default boolean |
lwcIgnorePublishStep()
Returns true if expressions with the same step size as Atlas publishing should be
ignored for streaming.
|
default Duration |
lwcStep()
Returns the step size (reporting frequency) to use for streaming to Atlas LWC.
|
default Duration |
meterTTL()
Returns the TTL for meters that do not have any activity.
|
default int |
numThreads()
Returns the number of threads to use with the scheduler.
|
default Publisher |
publisher()
Alpha: this method is experimental and may change or be completely
removed with no notice.
|
default Duration |
readTimeout()
Returns the read timeout for requests to the backend.
|
default RollupPolicy |
rollupPolicy()
Returns a rollup policy that will be applied to the measurements before sending to Atlas.
|
default Duration |
step()
Returns the step size (reporting frequency) to use.
|
default String |
uri()
Returns the URI for the Atlas backend.
|
default String |
validTagCharacters()
Returns a pattern indicating the valid characters for a tag key or value.
|
default Map<String,String> |
validTagValueCharacters()
Deprecated.
This method is no longer used internally.
|
default Duration step()
default Duration meterTTL()
default boolean enabled()
default boolean autoStart()
AtlasRegistry.start() method will
need to be called explicitly. Default is false.default int numThreads()
default String uri()
http://localhost:7101/api/v1/publish.default Duration lwcStep()
step()) and the Atlas step should be an even multiple of this value.default boolean lwcEnabled()
default boolean lwcIgnorePublishStep()
default Duration configRefreshFrequency()
default Duration configTTL()
default String configUri()
http://localhost:7101/lwc/api/v1/expressions/local-dev.default String evalUri()
http://localhost:7101/lwc/api/v1/evaluate.default Duration connectTimeout()
default Duration readTimeout()
default int batchSize()
default Map<String,String> commonTags()
validTagCharacters(). The default
is an empty map.default String validTagCharacters()
-._A-Za-z0-9~^.@Deprecated default Map<String,String> validTagValueCharacters()
default com.netflix.spectator.api.Registry debugRegistry()
default RollupPolicy rollupPolicy()
default long initialPollingDelay(com.netflix.spectator.api.Clock clock,
long stepSize)
default Publisher publisher()