rally-openstack/samples/tasks/scenarios/ceilometer/create-and-query-alarms.json
Shahifali Agrawal 77b5110ff6 Moving rally/doc/samples to rally/samples
Moving samples to root forlder for easy access.

Change-Id: I050c8d7580282b898be77156f65cdbce75a4dbb4
Closes-Bug: 1409836
2015-01-16 05:54:09 -08:00

30 lines
932 B
JSON

{
"CeilometerQueries.create_and_query_alarms": [
{
"args": {
"filter": {"and": [{"!=": {"state": "dummy_state"}},{"=": {"type": "threshold"}}]},
"orderby": null,
"limit": 10,
"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": 100,
"concurrency": 10
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
}
}
]
}