name: "tsbs-scale100-single-groupby-5-8-1@1158rps"

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

description: '
  use case: tsbs devops scale 100 use-case
  query: single-groupby-5-8-1
  tsbs query detail: Simple aggregrate (MAX) on 5 metrics for 8 hosts, every 5 mins for 1 hour
  sample query: "TS.MRANGE" "1451613577327" "1451617177327" "AGGREGATION" "MAX" "60000" "FILTER" "measurement=cpu" "fieldname=(usage_user,usage_system,usage_idle,usage_nice,usage_iowait)" "hostname=(host_32,host_54,host_86,host_91,host_30,host_2,host_89,host_29)" "GROUPBY" "fieldname" "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"
  - module-configuration-parameters:
      redistimeseries:
        CHUNK_SIZE_BYTES: 128

clientconfig:
  - benchmark_type: "read-only"
  - tool: tsbs_run_queries_redistimeseries
  - parameters:
    - workers: 32
    - max-rps: 1158
    - print-interval: 25000
    - file: "https://s3.amazonaws.com/benchmarks.redislabs/redistimeseries/tsbs/queries/devops/scale100/devops-scale100-4days/queries_cpu-only_redistimeseries_100_single-groupby-5-8-1_100000.dat"

exporter:
  redistimeseries:
    metrics:
      - "$.Totals.overallQuantiles.all_queries.q50":
          "target-1": 26.25
          "target-2": 4.69
      - "$.Totals.overallQueryRates.all_queries":
          "target-1": 1158
          "target-2": 1158
