public class BasicAtlasConfig extends java.lang.Object implements ServoAtlasConfig
ServoAtlasConfig that uses system properties to get
values.| Constructor and Description |
|---|
BasicAtlasConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
batchSize()
The maximum size of the batch of metrics to be sent to atlas.
|
java.lang.String |
getAtlasUri()
Return the URI used to POST values to atlas.
|
int |
getPushQueueSize()
Return the size of the queue to be used when pushing metrics to
the atlas backends.
|
boolean |
shouldSendMetrics()
Whether we should send metrics to atlas.
|
public java.lang.String getAtlasUri()
ServoAtlasConfiggetAtlasUri in interface ServoAtlasConfigpublic int getPushQueueSize()
ServoAtlasConfiggetPushQueueSize in interface ServoAtlasConfigpublic boolean shouldSendMetrics()
ServoAtlasConfigshouldSendMetrics in interface ServoAtlasConfigpublic int batchSize()
ServoAtlasConfigAtlasMetricObserver will split them into batches before sending
them to the atlas backends.
A value of 10000 works well for most workloads.batchSize in interface ServoAtlasConfig