Class WindowsBasedSli (2.0.1)

WindowsBasedSli(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
good_bad_metric_filter str
A `monitoring filter
good_total_ratio_threshold .gm_service.WindowsBasedSli.PerformanceThreshold
A window is good if its performance is high enough.
metric_mean_in_range .gm_service.WindowsBasedSli.MetricRange
A window is good if the metric's value is in a good range, averaged across returned streams.
metric_sum_in_range .gm_service.WindowsBasedSli.MetricRange
A window is good if the metric's value is in a good range, summed across returned streams.
window_period .duration.Duration
Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.

Classes

MetricRange

MetricRange(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

PerformanceThreshold

PerformanceThreshold(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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