Stackdriver Monitoring V3 Client - Class DistributionCut (1.11.0)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class DistributionCut.

A DistributionCut defines a TimeSeries and thresholds used for measuring good service and total service. The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the estimated count of values in the Distribution that fall within the specified min and max.

Generated from protobuf message google.monitoring.v3.DistributionCut

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ distribution_filter string

A monitoring filter specifying a TimeSeries aggregating values. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE.

↳ range Google\Cloud\Monitoring\V3\Range

Range of values considered "good." For a one-sided range, set one bound to an infinite value.

getDistributionFilter

A monitoring filter specifying a TimeSeries aggregating values. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE.

Returns
Type Description
string

setDistributionFilter

A monitoring filter specifying a TimeSeries aggregating values. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE.

Parameter
Name Description
var string
Returns
Type Description
$this

getRange

Range of values considered "good." For a one-sided range, set one bound to an infinite value.

Returns
Type Description
Google\Cloud\Monitoring\V3\Range|null

hasRange

clearRange

setRange

Range of values considered "good." For a one-sided range, set one bound to an infinite value.

Parameter
Name Description
var Google\Cloud\Monitoring\V3\Range
Returns
Type Description
$this