arguments, 'FILTER', ...$filterExpressions); return $this; } /** * Splits time series into groups, each group contains time series that share the same * value for the provided label name, then aggregates results in each group. * * @param string $label * @param string $reducer * @return $this */ public function groupBy(string $label, string $reducer): self { array_push($this->arguments, 'GROUPBY', $label, 'REDUCE', $reducer); return $this; } }