public interface EvaluatorConfig
Classes in this package are only intended for use internally within spectator. They may change at any time and without notice.
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
commonTags()
Returns the common tags to apply to all metrics reported to Atlas.
|
default boolean |
delayGaugeAggregation()
Returns true if gauge aggregation should be delayed until downstream in the final eval
step.
|
long |
evaluatorStepSize()
Step size used for the raw measurements.
|
static EvaluatorConfig |
fromAtlasConfig(AtlasConfig config)
Create a new instance from an AtlasConfig.
|
default Function<com.netflix.spectator.api.Id,Map<String,String>> |
idMapper()
Function to convert an id to a map of key/value pairs.
|
default <T> QueryIndex.CacheSupplier<T> |
indexCacheSupplier()
Supplier for cache to use within the evaluator query index.
|
default boolean |
parallelMeasurementPolling()
Returns true if the measurements should be polled in parallel using the default
common fork join pool.
|
static EvaluatorConfig fromAtlasConfig(AtlasConfig config)
long evaluatorStepSize()
Map<String,String> commonTags()
default Function<com.netflix.spectator.api.Id,Map<String,String>> idMapper()
default <T> QueryIndex.CacheSupplier<T> indexCacheSupplier()
default boolean parallelMeasurementPolling()
default boolean delayGaugeAggregation()