|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The unified configuration of subquery entries based on the polymorphic QueryConfigUnified.type, including timeUnit, start, end, window, and expr for SLS_MULTI_QUERY, name and expr for PROMETHEUS_MULTI_QUERY, and name, metricSet, metric, and labelFilters for UMODEL_METRICSET_MULTI_QUERY. |
||
| end |
integer |
The end offset of the time range for SLS_MULTI_QUERY, which is mutually exclusive with window. |
100 |
| expr |
string |
The query expression, which is PromQL for PROMETHEUS_MULTI_QUERY and SPL for SLS_MULTI_QUERY. |
Sample value |
| labelFilters |
array |
The label filter conditions for UMODEL_METRICSET_MULTI_QUERY, which are optional and independent per query. |
[{"name":"env","operator":"=","value":"prod"}] |
| LabelFilters |
The label filter conditions for a single metric set subquery, including the label name, operator, and value. |
{"name":"env","operator":"=","value":"prod"} |
|
| metric |
string |
The metric name for UMODEL_METRICSET_MULTI_QUERY. |
Sample name |
| metricSet |
string |
The metric set name for UMODEL_METRICSET_MULTI_QUERY. |
Sample name |
| name |
string |
The query name for PROMETHEUS_MULTI_QUERY or UMODEL_METRICSET_MULTI_QUERY, such as $A or $B, which is referenced by condition triggers. |
Sample name |
| start |
integer |
The start offset of the time range for SLS_MULTI_QUERY, which is mutually exclusive with window. |
100 |
| timeUnit |
string |
The time unit for SLS_MULTI_QUERY, which can be day, hour, minute, or second. |
second |
| window |
integer |
The alignment window size for SLS_MULTI_QUERY, which is mutually exclusive with start and end. |
100 |
Queries
Updated at:
Is this page helpful?