
Graphs can setup alerts. Add a basic framework for them. Change-Id: I6a80041eaaa03a3b3ff3e3de76401bbc77f42e96
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
dashboard:
|
|
time:
|
|
from: "2018-02-07T08:42:27.000Z"
|
|
to: "2018-02-07T13:48:32.000Z"
|
|
title: New dashboard
|
|
rows:
|
|
- title: New row
|
|
height: 250px
|
|
panels:
|
|
- title: no title (click here)
|
|
type: graph
|
|
datasource: graphite
|
|
targets:
|
|
- target: "stats.gauges.afs.afs01_dfw_openstack_org.part.vicepa.total"
|
|
refId: "A"
|
|
hide: true
|
|
- target: "divideSeries(stats.gauges.afs.afs01_dfw_openstack_org.part.vicpa.used, #A)"
|
|
refId: "B"
|
|
hide: false
|
|
alert:
|
|
conditions:
|
|
- evaluator:
|
|
params:
|
|
- 0.85
|
|
type: gt
|
|
operator:
|
|
type: and
|
|
query:
|
|
params:
|
|
- C
|
|
- 5m
|
|
- now
|
|
reducer:
|
|
params: []
|
|
type: avg
|
|
type: query
|
|
executionErrorState: alerting
|
|
frequency: 60s
|
|
name: A test alert
|
|
noDataState: no_data
|
|
|