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 | |
---|---|
Name | Description |
good_bad_metric_filter |
str
A `monitoring filter |
good_total_ratio_threshold |
google.cloud.monitoring_v3.types.WindowsBasedSli.PerformanceThreshold
A window is good if its performance is high enough.
|
metric_mean_in_range |
google.cloud.monitoring_v3.types.WindowsBasedSli.MetricRange
A window is good if the metric's value is in a good range, averaged across returned streams. |
metric_sum_in_range |
google.cloud.monitoring_v3.types.WindowsBasedSli.MetricRange
A window is good if the metric's value is in a good range, summed across returned streams. |
window_period |
google.protobuf.duration_pb2.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
.