---
  version: 2
  title: Task for gate-rally-dsvm-monasca-rally-ubuntu-xenial-nv job
  description: >
    This task contains various subtasks for testing Monasca plugins
  subtasks:
    -
      title: MonascaMetrics.list_metrics tests
      workloads:
        -
          scenario:
            MonascaMetrics.list_metrics: {}
          runner:
            constant:
              times: 10
              concurrency: 2
          contexts:
            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
        -
          scenario:
            MonascaMetrics.list_metrics: {}
          runner:
            constant:
              times: 10
              concurrency: 2
          contexts:
            users:
              tenants: 2
              users_per_tenant: 2
            roles:
             - "monasca-user"
            monasca_metrics:
              "metrics_per_tenant": 10
