Class WindowsBasedSli (1.1.2)

A WindowsBasedSli defines good_service as the count of time windows for which the provided service was of good quality. Criteria for determining if service was good are embedded in the window_criterion.

A monitoring filter <https://cloud.google.com/monitoring/api/v3/filters>__ specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.

A window is good if the metric’s value is in a good range, averaged across returned streams.

Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.

Classes

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.

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

PerformanceThreshold

A PerformanceThreshold is used when each window is good when that window has a sufficiently high performance.

\ RequestBasedSli to evaluate to judge window quality.

If window performance >= threshold, the window is counted as good.