public interface DatadogConfig
extends com.netflix.spectator.api.RegistryConfig
| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
apiKey() |
default int |
batchSize()
Returns the number of measurements per request to use for the backend.
|
default java.time.Duration |
connectTimeout()
Returns the connection timeout for requests to the backend.
|
default boolean |
enabled()
Returns true if publishing to Datadog is enabled.
|
default java.lang.String |
hostTag()
The tag that will be mapped to "host" when shipping metrics to datadog, or
null if
host should be omitted on publishing. |
default int |
numThreads()
Returns the number of threads to use with the scheduler.
|
default java.time.Duration |
readTimeout()
Returns the read timeout for requests to the backend.
|
default java.time.Duration |
step()
Returns the step size (reporting frequency) to use.
|
default java.lang.String apiKey()
default java.time.Duration step()
default boolean enabled()
true.default int numThreads()
default java.time.Duration connectTimeout()
default java.time.Duration readTimeout()
default int batchSize()
default java.lang.String hostTag()
null if
host should be omitted on publishing.