version: 0.5
name: "tsbs-scale100-cpu-max-all-1@4139rps"

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

description: '
  use case: tsbs devops scale 100 use-case
  query: cpu-max-all-1
  tsbs query detail: Aggregate across all CPU metrics per hour over 1 hour for a single host
  sample query: "TS.MRANGE" "1451695614264" "1451724414264" "WITHLABELS" "AGGREGATION" "MAX" "3600000" "FILTER" "measurement=cpu" "hostname=host_7"
  '



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: 4139
    - print-interval: 25000
    - file: "https://s3.amazonaws.com/benchmarks.redislabs/redistimeseries/tsbs/queries/devops/scale100/devops-scale100-4days/queries_cpu-only_redistimeseries_100_cpu-max-all-1_1000000.dat"

exporter:
  redistimeseries:
    metrics:
      - "$.Totals.overallQuantiles.all_queries.q50":
          "target-1": 7.18
          "target-2": 8.31
      - "$.Totals.overallQueryRates.all_queries":
          "target-1": 4139
          "target-2": 4139
