Reference documentation and code samples for the Stackdriver Monitoring V3 Client class Reducer.
A Reducer operation describes how to aggregate data points from multiple time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.
Protobuf type google.monitoring.v3.Aggregation.Reducer
Namespace
Google \ Cloud \ Monitoring \ V3 \ AggregationMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
REDUCE_NONE
Value: 0No cross-time series reduction. The output of the Aligner is
returned.
Generated from protobuf enum REDUCE_NONE = 0;
REDUCE_MEAN
Value: 1Reduce by computing the mean value 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.
Generated from protobuf enum REDUCE_MEAN = 1;
REDUCE_MIN
Value: 2Reduce by computing the minimum value 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.
Generated from protobuf enum REDUCE_MIN = 2;
REDUCE_MAX
Value: 3Reduce by computing the maximum value 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.
Generated from protobuf enum REDUCE_MAX = 3;
REDUCE_SUM
Value: 4Reduce 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.
Generated from protobuf enum REDUCE_SUM = 4;
REDUCE_STDDEV
Value: 5Reduce 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.
Generated from protobuf enum REDUCE_STDDEV = 5;
REDUCE_COUNT
Value: 6Reduce by computing the number 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.
Generated from protobuf enum REDUCE_COUNT = 6;
REDUCE_COUNT_TRUE
Value: 7Reduce by computing the number 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.
Generated from protobuf enum REDUCE_COUNT_TRUE = 7;
REDUCE_COUNT_FALSE
Value: 15Reduce by computing the number 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.
Generated from protobuf enum REDUCE_COUNT_FALSE = 15;
REDUCE_FRACTION_TRUE
Value: 8Reduce by computing the ratio of the number of True-valued data points
to the total number of data points 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.0, 1.0] and has value_type
DOUBLE.
Generated from protobuf enum REDUCE_FRACTION_TRUE = 8;
REDUCE_PERCENTILE_99
Value: 9Reduce by computing the 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.
Generated from protobuf enum REDUCE_PERCENTILE_99 = 9;
REDUCE_PERCENTILE_95
Value: 10Reduce by computing the 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.
Generated from protobuf enum REDUCE_PERCENTILE_95 = 10;
REDUCE_PERCENTILE_50
Value: 11Reduce by computing the 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.
Generated from protobuf enum REDUCE_PERCENTILE_50 = 11;
REDUCE_PERCENTILE_05
Value: 12Reduce by computing the 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.
Generated from protobuf enum REDUCE_PERCENTILE_05 = 12;