The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/pkg/services/provisioning/alerting/testdata/common/broken-yaml/rules.yml

56 lines
1.2 KiB

apiVersion: 1
groups:
- name: my_group
folder: my_folder
interval: 10s
rules:
- title: my_first_rule
uid: my_first_rule
condition: A
for: 1m
annotations:
runbook: https://grafana.com
labels:
team: infra
severity: warning
data:
- refId: A
queryType: ''
relativeTimeRange:
from: 600
to: 0
datasourceUID: PD8C576611E62080A
model:
hide: false
intervalMs: 1000
maxDataPoints: 43200
refId: A
- refId: B
queryType: ''
relativeTimeRange:
from: 0
to: 0
datasourceUid: "__expr__"
model:
conditions:
- evaluator:
params:
- 3
type: gt
operator:
type: and
query:
params:
- A
reducer:
params: []
type: last
type: query
datasource:
type: __expr__
uid: "__expr__"
hide: false
intervalMs: 1000
maxDataPoints: 43200
refId: B
type: classic_conditions