github.com/m3db/m3@v1.5.0/scripts/comparator/basic_queries/queries.json (about)

     1  [
     2    {
     3      "queryGroup": "scalar",
     4      "queries": [
     5        "42",
     6        "time()"
     7      ],
     8      "steps": [
     9        "1m"
    10      ]
    11    },
    12    {
    13      "queryGroup": "fetch",
    14      "queries": [
    15        "quail",
    16        "quail offset 60s"
    17      ],
    18      "steps": [
    19        "15s",
    20        "30s",
    21        "1m"
    22      ]
    23    },
    24    {
    25      "queryGroup": "temporal",
    26      "queries": [
    27        "rate(multi_1[1m])",
    28        "irate(multi_1[5m])",
    29        "delta(multi_1[123s])",
    30        "idelta(multi_1[1m] offset 1h)",
    31        "deriv(multi_1[3m])"
    32      ],
    33      "steps": [
    34        "15s",
    35        "30s", 
    36        "1m",
    37        "5m"
    38      ]
    39    },
    40    {
    41      "queryGroup": "binary",
    42      "queries": [
    43        "quail*1",
    44        "1-quail",
    45        "quail*quail",
    46        "quail offset 1m / quail"
    47      ],
    48      "steps": [
    49        "15s",
    50        "30s",
    51        "1m"
    52      ]
    53    },
    54    {
    55      "queryGroup": "aggregation",
    56      "queries": [
    57        "sum(foobar{foobar=\"qux\"})",
    58        "sum(foobar{foobar=\"qux\"}) - 1",
    59        "sum(foobar{foobar=\"qux\"} offset 1m)"
    60      ],
    61      "steps": [
    62        "15s",
    63        "30s", 
    64        "1m"
    65      ]
    66    },
    67    {
    68      "queryGroup": "transform",
    69      "queries": [
    70        "clamp_max(quail, 0.5)",
    71        "clamp_min(quail offset 60s, 0.5)",
    72        "sum(foobar{foobar=\"qux\"}) - 1",
    73        "sum(foobar{foobar=\"qux\"} offset 1m)"
    74      ],
    75      "steps": [
    76        "15s",
    77        "30s", 
    78        "1m"
    79      ]
    80    },
    81    {
    82      "queryGroup": "label",
    83      "queries": [
    84        "label_replace(quail,\"foo\", \"$1!\", \"name\", \"(.*)\")",
    85        "label_replace(quail offset 1m,\"foo\", \"$1!\", \"name\", \"(.*)\")",
    86        "label_replace(quail,\"foo\", \"$1!\", \"name\", \"(.*)\")-100",
    87        "label_join(quail,\"quince\", \"!\", \"foobar\", \"name\")"
    88      ],
    89      "steps": [
    90        "15s",
    91        "30s", 
    92        "1m"
    93      ]
    94    },
    95    {
    96      "queryGroup": "topk",
    97      "reruns": 5,
    98      "queries": [
    99        "topk(2, quack)",
   100        "topk(2, avg_over_time(quack[30s]))",
   101        "topk(2, avg(avg_over_time(quack[30s])) by (name))"
   102      ],
   103      "steps": [
   104        "1m"
   105      ]
   106    },
   107    {
   108      "queryGroup": "quantile",
   109      "queries": [
   110        "quantile(0, multi_10)",
   111        "quantile(0.8, avg_over_time(multi_10[30s]))",
   112        "quantile(1, avg(avg_over_time(multi_10[30s])) by (name))"
   113      ],
   114      "steps": [
   115        "1m"
   116      ]
   117    }
   118  ]