monasca-ceilometer/test-scripts/ceilometer-meter-resource-sample.json
Rohit Jaiswal d9750e4b45 Rally Scripts for Ceilometer API
Removing the Rally test scripts except
queries.py, since everything else is available
out-of-the-box when installing Rally.

queries.py has a local change, has a new
method: query_samples, which was added after
create_and_query_samples had a problem in
creating samples.

Change-Id: I3c54459fecca9407b08d5009761e8c1b1261a2f0
2015-09-18 23:22:11 +00:00

100 lines
2.6 KiB
JSON

{
"CeilometerMeters.list_meters": [
{
"runner": {
"type": "constant_for_duration",
"duration": 600,
"concurrency": 50
},
"context": {
"users": {
"tenants": 40,
"users_per_tenant": 5
}
},
"sla": {
"max_seconds_per_iteration": 180,
"failure_rate": {
"max": 5
}
}
}
],
"CeilometerResource.list_resources": [
{
"runner": {
"type": "constant_for_duration",
"duration": 600,
"concurrency": 50
},
"context": {
"users": {
"tenants": 40,
"users_per_tenant": 5
}
},
"sla": {
"max_seconds_per_iteration": 180,
"failure_rate": {
"max": 5
}
}
}
],
"CeilometerQueries.query_samples": [
{
"args": {
"filter": '{"=": {"counter_name": "instance"}}',
"orderby": null,
"limit": 10
},
"runner": {
"type": "constant_for_duration",
"duration": 600,
"concurrency": 50
},
"context": {
"users": {
"tenants": 40,
"users_per_tenant": 5
}
},
"sla": {
"max_seconds_per_iteration": 180,
"failure_rate": {
"max": 5
}
}
}
],
"CeilometerSamples.list_samples": [
{
"runner": {
"type": "constant_for_duration",
"duration": 600,
"concurrency": 50
},
"context": {
"users": {
"tenants": 40,
"users_per_tenant": 5
},
"ceilometer": {
"counter_name": "image",
"counter_type": "gauge",
"counter_unit": "image",
"counter_volume": 1.0,
"resources_per_tenant": 3,
"samples_per_resource": 3
}
},
"sla": {
"max_seconds_per_iteration": 180,
"failure_rate": {
"max": 5
}
}
}
]
}