f61b5bf221
Add missing sla section and proper check This work is originally porposed by Roman[1] [1] https://review.openstack.org/#/c/348395/3 Change-Id: I4507aa82080b41cac4b87aa810865da9ffe015e6 Closes-bug: #1554857
23 lines
554 B
YAML
23 lines
554 B
YAML
---
|
|
CeilometerAlarms.create_and_update_alarm:
|
|
-
|
|
args:
|
|
meter_name: "ram_util"
|
|
threshold: 10.0
|
|
type: "threshold"
|
|
statistic: "avg"
|
|
alarm_actions: ["http://localhost:8776/alarm"]
|
|
ok_actions: ["http://localhost:8776/ok"]
|
|
insufficient_data_actions: ["http://localhost:8776/notok"]
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|