3116ecf1c2
Existing benchmarks for samples list query are updated via new context and adding new configured query parameters. It allow to find a weak places in requesting Ceilometer data and extend count of scenarios which use in Ceilometer. Change-Id: If2c780ab6cf9a3bdfb339e9b96b34d909ff17f28
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
JSON
{
|
|
"CeilometerSamples.list_matched_samples": [
|
|
{
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 10,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 2,
|
|
"users_per_tenant": 2
|
|
},
|
|
"ceilometer": {
|
|
"counter_name": "cpu_util",
|
|
"counter_type": "gauge",
|
|
"counter_unit": "instance",
|
|
"counter_volume": 1.0,
|
|
"resources_per_tenant": 100,
|
|
"samples_per_resource": 100,
|
|
"timestamp_interval": 60,
|
|
"metadata_list": [
|
|
{"status": "active", "name": "fake_resource",
|
|
"deleted": "False",
|
|
"created_at": "2015-09-04T12:34:19.000000"},
|
|
{"status": "not_active", "name": "fake_resource_1",
|
|
"deleted": "False",
|
|
"created_at": "2015-09-10T06:55:12.000000"}
|
|
]
|
|
}
|
|
},
|
|
"args":{
|
|
"filter_by_user_id": true,
|
|
"filter_by_project_id": true,
|
|
"filter_by_resource_id": true,
|
|
"limit": 50,
|
|
"metadata_query": {"status": "not_active"}
|
|
}
|
|
}
|
|
]
|
|
} |