23a8bed844
* add new context of creating metrics via monasca * add metric list benchmark * add metric list benchmark task config example Change-Id: Ib16941a4b9d59a2ff51e93cfb178bc12c3df26cf
34 lines
903 B
JSON
34 lines
903 B
JSON
{
|
|
"MonascaMetrics.list_metrics": [
|
|
{
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 10,
|
|
"concurrency": 1
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 1,
|
|
"users_per_tenant": 1
|
|
},
|
|
"roles": [
|
|
"monasca-user"
|
|
],
|
|
"monasca_metrics": {
|
|
"dimensions": {
|
|
"region": "RegionOne",
|
|
"service": "identity",
|
|
"hostname": "fake_host",
|
|
"url": "http://fake_host:5000/v2.0"
|
|
},
|
|
"metrics_per_tenant": 10
|
|
}
|
|
},
|
|
"args": {
|
|
"region": "RegionOne",
|
|
"limit": 5
|
|
}
|
|
}
|
|
]
|
|
}
|