Group

Description

 Group time series

Input

 Time Series – Multiple time series

Parameters

 Group By - Mandatory, group by fields

Output

 Time Series - Multiple time series

Available in

 Alerts + Composite + Dashboards

Relevant scope: Optional Preliminary step for asPercent and madDistSeries

The Group function allows to group metrics based on one or more dimensions. These groups of metrics can than be subjected to further manipulation, using additional functions. The Group function by itself will have no noticeable effect.

In the example below, we applied the function AsPercent on metrics that measure average traffic volume for different roads, and have been grouped by the dimension Traffic_direction, as follows:

group0.png

This is how the average traffic data looks before applying any function. There are four metrics (four different roads), two of them have the property Traffic_direction: to, and the other two have the property Traffic_direction: from.

group1.png

Upon applying the two functions, the data points in the chart will represent the percentage within the two Traffic_direction groups (each adds up to 100%):

group2.png

Importantly, this allows presenting and detecting anomalies in metrics that are measured by their relative contribution to the average traffic volume in the context of a specific dimension (e.g., traffic direction in this example).

note: the functions Group and GroupBy have similar names, but they serve different use cases, and should not be confused.

Was this article helpful?
0 out of 0 found this helpful