rally-openstack/rally-jobs/telemetry.yaml
Juha Kosonen 367b14102f Add Gnocchi metric scenarios
This patch is based on [1] and adds following scenarios:

GnocchiMetric.list_metric
GnocchiMetric.create_metric
GnocchiMetric.create_delete_metric

[1] https://review.openstack.org/#/c/453861/

Change-Id: Ia391b89fb7c57dbf30d4ed1756ddca184b1e592f
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-04-05 12:41:22 +03:00

207 lines
3.9 KiB
YAML

---
Gnocchi.list_capabilities:
-
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 3
sla:
failure_rate:
max: 0
Gnocchi.get_status:
-
args:
detailed: false
runner:
type: "constant"
times: 10
concurrency: 2
sla:
failure_rate:
max: 0
GnocchiArchivePolicyRule.list_archive_policy_rule:
-
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 3
sla:
failure_rate:
max: 0
GnocchiArchivePolicyRule.create_archive_policy_rule:
-
args:
metric_pattern: "cpu_*"
archive_policy_name: "low"
runner:
type: "constant"
times: 10
concurrency: 2
sla:
failure_rate:
max: 0
GnocchiArchivePolicyRule.create_delete_archive_policy_rule:
-
args:
metric_pattern: "cpu_*"
archive_policy_name: "low"
runner:
type: "constant"
times: 10
concurrency: 2
sla:
failure_rate:
max: 0
GnocchiArchivePolicy.list_archive_policy:
-
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 3
sla:
failure_rate:
max: 0
GnocchiArchivePolicy.create_archive_policy:
-
args:
definition:
- granularity: "0:00:01"
timespan: "1:00:00"
runner:
type: "constant"
times: 10
concurrency: 2
sla:
failure_rate:
max: 0
GnocchiArchivePolicy.create_delete_archive_policy:
-
args:
definition:
- granularity: "0:00:01"
timespan: "1:00:00"
runner:
type: "constant"
times: 10
concurrency: 2
sla:
failure_rate:
max: 0
GnocchiResourceType.list_resource_type:
-
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 3
sla:
failure_rate:
max: 0
GnocchiResourceType.create_resource_type:
-
args:
attributes:
foo:
required: false
type: "string"
bar:
required: true
type: "number"
runner:
type: "constant"
times: 10
concurrency: 2
sla:
failure_rate:
max: 0
GnocchiResourceType.create_delete_resource_type:
-
args:
attributes:
foo:
required: false
type: "string"
bar:
required: true
type: "number"
runner:
type: "constant"
times: 10
concurrency: 2
sla:
failure_rate:
max: 0
GnocchiMetric.list_metric:
-
args:
limit: 10000
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 3
sla:
failure_rate:
max: 0
GnocchiMetric.create_metric:
-
args:
archive_policy_name: "low"
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 3
sla:
failure_rate:
max: 0
GnocchiMetric.create_delete_metric:
-
args:
archive_policy_name: "low"
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 3
sla:
failure_rate:
max: 0