Stackdriver Monitoring V3 Client - Class DistributionCut (1.4.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setDistributionFilter

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRange

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\Monitoring\V3\Range
Returns
TypeDescription
$this