The optionally aggregated metric to query with its ordering.
JSON representation |
---|
{ "name": string, "aggregation": enum ( |
Fields | |
---|---|
name |
Name of the metric |
aggregation |
Aggregation function associated with the metric. |
order |
Ordering for this aggregation in the result. For time series this is ignored since the ordering of points depends only on the timestamp, not the values. |
AggregationFunction
Aggregation functions to be invoked on a given metric.
Enums | |
---|---|
AGGREGATION_FUNCTION_UNSPECIFIED |
Unspecified Aggregation function. |
AVG |
Average. |
SUM |
Summation. |
MIN |
Min. |
MAX |
Max. |
COUNT_DISTINCT |
Count distinct |