Class WindowsBasedSli (0.35.0)

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. .. attribute:: window_criterion

The criterion to use for evaluating window goodness.

A window is good if its performance is high enough.

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

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. .. attribute:: time_series

A monitoring filter <https://cloud.google.com/monitoring/api/v3/filters>__ specifying the TimeSeries to use for evaluating window quality.

PerformanceThreshold

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

The means, either a request-based SLI or a basic SLI, by which to compute performance over a window.

\ BasicSli to evaluate to judge window quality.