Class WindowsBasedSli (2.14.2)

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.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
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. This field is a member of oneof_ window_criterion.
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. This field is a member of oneof_ window_criterion.
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. This field is a member of oneof_ window_criterion.
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.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields