76b8df58d2
Existing benchmarks which process a list of resources and meters are updated via new context and adding new configured query parameters. It allows to find a weak places in requesting ceilometer data and extend count of scenarios which use a ceilometer. Change-Id: Ifbb77915267f7e339ea7adbd9dae34ca59acb78d
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"CeilometerResource.list_matched_resources": [
|
|
{
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 10,
|
|
"concurrency": 1
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 2,
|
|
"users_per_tenant": 2
|
|
},
|
|
"ceilometer": {
|
|
"counter_name": "benchmark_meter",
|
|
"counter_type": "gauge",
|
|
"counter_unit": "%",
|
|
"counter_volume": 100,
|
|
"resources_per_tenant": 100,
|
|
"samples_per_resource": 100,
|
|
"timestamp_interval": 10,
|
|
"metadata_list": [
|
|
{"status": "active", "name": "rally benchmark on",
|
|
"deleted": "false"},
|
|
{"status": "terminated", "name": "rally benchmark off",
|
|
"deleted": "true"}
|
|
]
|
|
}
|
|
},
|
|
"args": {
|
|
"limit":50,
|
|
"metadata_query": {"status": "terminated"},
|
|
"filter_by_user_id": true,
|
|
"filter_by_project_id": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|