Config instance to use for loading the custom operations. The settings
will be loaded from the atlas.core.vocabulary
block.
**Words**
Custom words can be defined using an expression. These are typically used
by the operators to provide common helper functions.
The supported fields are:
words = [
{
name = "square"
body = ":dup,:mul"
examples = ["2"]
}
]
name
: operation name, when the user calls the operation they will use
:$name
.body
: expression that is executed for this operation.examples
: set of example stacks that can be used as input to the operator
to show how it works.
**Averages**
The custom-averages
list contains a set of rewrites for averaging based
on an arbitrary denominator query. This is typically used to make it easier
for performing an average based on a separate infrastructure metric. For
example, at Netflix there is a metric published for each instance that is
UP in Eureka. To compute an average per UP server we could define a custom
average like:
custom-averages = [
{
name = "eureka-avg"
base-query = "name,eureka.state,:eq,status,UP,:eq,:and"
keys = ["nf.app", "nf.cluster", "nf.asg", "nf.node"]
}
]
The supported fields are:name
: operation name, when the user calls the operation they will use
:$name
.base-query
: query for the denominator.keys
: tag keys that are available for use on the denominator.Return a flattened list of all words from this vocabulary plus words from all dependencies.
Return a flattened list of all words from this vocabulary plus words from all dependencies.
Return a flattened list of all dependency vocabularies.
Return a flattened list of all dependency vocabularies.
(Since version ) see corresponding Javadoc for more information.
Vocabulary that allows custom extension operations to be loaded from the config.