92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
36 lines
876 B
YAML
36 lines
876 B
YAML
apiVersion: 1
|
|
|
|
groups:
|
|
- name: "test_rule_group"
|
|
folder: "test_group"
|
|
interval: 60s
|
|
rules:
|
|
- uid: "test_rule"
|
|
title: "Test Rule"
|
|
condition: A
|
|
data:
|
|
- refId: A
|
|
datasourceUid: '-100'
|
|
model:
|
|
conditions:
|
|
- evaluator:
|
|
params:
|
|
- 3
|
|
type: gt
|
|
operator:
|
|
type: and
|
|
query:
|
|
params:
|
|
- A
|
|
reducer:
|
|
type: last
|
|
type: query
|
|
datasource:
|
|
type: __expr__
|
|
uid: '-100'
|
|
expression: 1==0
|
|
intervalMs: 1000
|
|
maxDataPoints: 43200
|
|
refId: A
|
|
type: math
|
|
for: 60s
|