Module: Google::Monitoring::V3::Aggregation::Reducer

Defined in:
lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/common.rb

Overview

A Reducer describes how to aggregate data points from multiple time series into a single time series.

Constant Summary collapse

REDUCE_NONE =

No cross-time series reduction. The output of the aligner is returned.

0
REDUCE_MEAN =

Reduce by computing the mean across time series for each alignment period. This reducer is valid for delta and gauge metrics with numeric or distribution values. The value type of the output is DOUBLE.

1
REDUCE_MIN =

Reduce by computing the minimum across time series for each alignment period. This reducer is valid for delta and gauge metrics with numeric values. The value type of the output is the same as the value type of the input.

2
REDUCE_MAX =

Reduce by computing the maximum across time series for each alignment period. This reducer is valid for delta and gauge metrics with numeric values. The value type of the output is the same as the value type of the input.

3
REDUCE_SUM =

Reduce by computing the sum across time series for each alignment period. This reducer is valid for delta and gauge metrics with numeric and distribution values. The value type of the output is the same as the value type of the input.

4
REDUCE_STDDEV =

Reduce by computing the standard deviation across time series for each alignment period. This reducer is valid for delta and gauge metrics with numeric or distribution values. The value type of the output is DOUBLE.

5
REDUCE_COUNT =

Reduce by computing the count of data points across time series for each alignment period. This reducer is valid for delta and gauge metrics of numeric, Boolean, distribution, and string value type. The value type of the output is INT64.

6
REDUCE_COUNT_TRUE =

Reduce by computing the count of True-valued data points across time series for each alignment period. This reducer is valid for delta and gauge metrics of Boolean value type. The value type of the output is INT64.

7
REDUCE_COUNT_FALSE =

Reduce by computing the count of False-valued data points across time series for each alignment period. This reducer is valid for delta and gauge metrics of Boolean value type. The value type of the output is INT64.

15
REDUCE_FRACTION_TRUE =

Reduce by computing the fraction of True-valued data points across time series for each alignment period. This reducer is valid for delta and gauge metrics of Boolean value type. The output value is in the range [0, 1] and has value type DOUBLE.

8
REDUCE_PERCENTILE_99 =

Reduce by computing 99th percentile of data points across time series for each alignment period. This reducer is valid for gauge and delta metrics of numeric and distribution type. The value of the output is DOUBLE

9
REDUCE_PERCENTILE_95 =

Reduce by computing 95th percentile of data points across time series for each alignment period. This reducer is valid for gauge and delta metrics of numeric and distribution type. The value of the output is DOUBLE

10
REDUCE_PERCENTILE_50 =

Reduce by computing 50th percentile of data points across time series for each alignment period. This reducer is valid for gauge and delta metrics of numeric and distribution type. The value of the output is DOUBLE

11
REDUCE_PERCENTILE_05 =

Reduce by computing 5th percentile of data points across time series for each alignment period. This reducer is valid for gauge and delta metrics of numeric and distribution type. The value of the output is DOUBLE

12