47b60c4f62
Performance Ceilometer scenarios required a great amount of data, that means that if something happens during samples are storing the test fails. Batching improves it. Storing with batching has the same rate as if whole sample list is stored, but choosing batch size not greater then 1% of all samples makes it losing not critical for the test. Change-Id: I96cfbdb6f0f8c20363b4be11cac488f6459f81e2
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"CeilometerSamples.list_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"}
|
|
],
|
|
"batch_size": 5
|
|
}
|
|
},
|
|
"args":{
|
|
"limit": 50,
|
|
"metadata_query": {"status": "not_active"}
|
|
}
|
|
}
|
|
]
|
|
}
|