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

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

description: '
  use case: tsbs devops scale 100 use-case
  query: single-groupby-1-8-1
  tsbs query detail: Simple aggregrate (MAX) on one metric for 8 hosts, every 5 mins for 1 hour
  sample query: "TS.MRANGE" "1451787921535" "1451791521535" "AGGREGATION" "MAX" "60000" "FILTER" "measurement=cpu" "fieldname=usage_user" "hostname=(host_53,host_24,host_50,host_65,host_54,host_32,host_99,host_20)" "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: 4458
    - 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-1-8-1_500000.dat"

exporter:
  redistimeseries:
    metrics:
      - "$.Totals.overallQuantiles.all_queries.q50":
          "target-1": 6.57
          "target-2": 5.88
      - "$.Totals.overallQueryRates.all_queries":
          "target-1": 4458
          "target-2": 4458
