name: "tsbs-scale100-double-groupby-5@70rps"

metadata:
  labels:
    test_type: query
    includes_targets: "true"

description: '
  use case: tsbs devops scale 100 use-case
  query: double-groupby-5
  tsbs query detail: Aggregate on across both time and host, giving the average of 5 CPU metrics per host per hour for 24 hours
  sample query: "TS.MRANGE" "1451634696227" "1451677896227" "AGGREGATION" "AVG" "3600000" "FILTER" "measurement=cpu" "fieldname=(usage_user,usage_system,usage_idle,usage_nice,usage_iowait)" "GROUPBY" "hostname" "REDUCE" "max"
  '



setups:
  - oss-cluster-15-primaries
  - oss-cluster-30-primaries

dbconfig:
  - dataset_name: "data_redistimeseries_cpu-only_100"
  - tool: tsbs_load_redistimeseries
  - parameters:
    - file: "https://s3.amazonaws.com/benchmarks.redislabs/redistimeseries/tsbs/datasets/devops/scale100/data_redistimeseries_cpu-only_100.dat"
  - check:
      keyspacelen: 1000
  - module-configuration-parameters:
      redistimeseries:
        CHUNK_SIZE_BYTES: 128

clientconfig:
  - benchmark_type: "read-only"
  - tool: tsbs_run_queries_redistimeseries
  - parameters:
    - workers: 32
    - max-rps: 70
    - print-interval: 2500
    - file: "https://s3.amazonaws.com/benchmarks.redislabs/redistimeseries/tsbs/queries/devops/scale100/devops-scale100-4days/queries_cpu-only_redistimeseries_100_double-groupby-5_10000.dat"

exporter:
  redistimeseries:
    metrics:
      - "$.Totals.overallQuantiles.all_queries.q50":
          "target-1": 454.03
          "target-2": 135.19
      - "$.Totals.overallQueryRates.all_queries":
          "target-1": 70
          "target-2": 70
