WindowsBasedSliResponse

data class WindowsBasedSliResponse(val goodBadMetricFilter: String, val goodTotalRatioThreshold: PerformanceThresholdResponse, val metricMeanInRange: MetricRangeResponse, val metricSumInRange: MetricRangeResponse, val windowPeriod: String)

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.

Constructors

Link copied to clipboard
fun WindowsBasedSliResponse(goodBadMetricFilter: String, goodTotalRatioThreshold: PerformanceThresholdResponse, metricMeanInRange: MetricRangeResponse, metricSumInRange: MetricRangeResponse, windowPeriod: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

A window is good if its performance is high enough.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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