Stackdriver Monitoring V3 Client - Class MetricRange (1.5.1)

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

A MetricRange is used when each window is good when the value x of a single TimeSeries satisfies range.min <= x <= range.max. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.

Generated from protobuf message google.monitoring.v3.WindowsBasedSli.MetricRange

Namespace

Google \ Cloud \ Monitoring \ V3 \ WindowsBasedSli

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ time_series string

A monitoring filter specifying the TimeSeries to use for evaluating window quality.

↳ range Google\Cloud\Monitoring\V3\Range

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

getTimeSeries

A monitoring filter specifying the TimeSeries to use for evaluating window quality.

Returns
TypeDescription
string

setTimeSeries

A monitoring filter specifying the TimeSeries to use for evaluating window quality.

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