23a8bed844
* add new context of creating metrics via monasca * add metric list benchmark * add metric list benchmark task config example Change-Id: Ib16941a4b9d59a2ff51e93cfb178bc12c3df26cf
40 lines
855 B
YAML
40 lines
855 B
YAML
---
|
|
MonascaMetrics.list_metrics:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
roles:
|
|
- "monasca-user"
|
|
monasca_metrics:
|
|
"dimensions":
|
|
"region": "RegionOne"
|
|
"service": "identity"
|
|
"hostname": "fake_host"
|
|
"url": "http://fake_host:5000/v2.0"
|
|
"metrics_per_tenant": 10
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
roles:
|
|
- "monasca-user"
|
|
monasca_metrics:
|
|
"metrics_per_tenant": 10
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|