Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WindowsBasedSli

import type { WindowsBasedSli } from "https://googleapis.deno.dev/v1/monitoring:v3.ts";

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.

interface WindowsBasedSli {
goodBadMetricFilter?: string;
goodTotalRatioThreshold?: PerformanceThreshold;
metricMeanInRange?: MetricRange;
metricSumInRange?: MetricRange;
windowPeriod?: number;
}

§Properties

§
goodBadMetricFilter?: string
[src]

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.

§
goodTotalRatioThreshold?: PerformanceThreshold
[src]

A window is good if its performance is high enough.

§
metricMeanInRange?: MetricRange
[src]

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

§
metricSumInRange?: MetricRange
[src]

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

§
windowPeriod?: number
[src]

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