query.analytics
Analytics query
type |
object |
||
properties |
|||
|
Name of the playbook that generated this file. If present, the file is managed by the Composer and may be overwritten on regeneration. Used for selective clean. Do not edit or set manually. |
||
type |
string |
||
|
The id of the analytics module to attach this query to |
||
type |
string |
||
|
Expression that represents the data to fetch. |
||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
additionalProperties |
False |
||
QueryEntity
type |
object |
|||
properties |
||||
|
List of additional stages to add at the end of the query |
|||
type |
array |
|||
items |
type |
string |
||
|
Define a aggregation function |
|||
|
The name of the collection |
|||
type |
string |
|||
|
List of fields we want to get |
|||
type |
array |
|||
items |
type |
string |
||
|
Set limit number of results |
|||
|
List of measurements we want to get |
|||
type |
array |
|||
items |
type |
string |
||
|
Time period of the query Default value is [{“start”:{“unit”:”SECONDS”,”value”:60}}] |
|||
default |
start |
unit |
SECONDS |
|
value |
60 |
|||
additionalProperties |
False |
|||
QueryAggregateConfigurationEntity
type |
object |
||
properties |
|||
|
Aggregation window (default is 1h). Default value is [{“unit”:”HOURS”,”value”:1}] |
||
default |
unit |
HOURS |
|
value |
1 |
||
|
Aggregation function (mean as default). Default value is [“mean”] |
||
type |
string |
||
enum |
count, integral, last, mean, median, min, max |
||
default |
mean |
||
additionalProperties |
False |
||
DurationConfigurationEntity
type |
object |
|
properties |
||
|
The unit of time expressed |
|
type |
string |
|
enum |
NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS |
|
|
The amount of time expressed with the unit |
|
type |
integer |
|
additionalProperties |
False |
|
QueryLimitConfigurationEntity
type |
object |
|
properties |
||
|
Takes the x results from the first or the last value (default value). Default value is [“Last”] |
|
type |
string |
|
enum |
First, Last |
|
default |
Last |
|
|
Limit number of results |
|
type |
integer |
|
|
Offset |
|
type |
integer |
|
additionalProperties |
False |
|
QueryRangeConfigurationEntity
type |
object |
properties |
|
|
End |
|
Start |
additionalProperties |
False |