Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::WindowsBasedSli.
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
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#good_bad_metric_filter
def good_bad_metric_filter() -> ::String
-
(::String) — A monitoring filter
specifying a
TimeSeries
withValueType = BOOL
. The window is good if anytrue
values appear in the window.Note: The following fields are mutually exclusive:
good_bad_metric_filter
,good_total_ratio_threshold
,metric_mean_in_range
,metric_sum_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#good_bad_metric_filter=
def good_bad_metric_filter=(value) -> ::String
-
value (::String) — A monitoring filter
specifying a
TimeSeries
withValueType = BOOL
. The window is good if anytrue
values appear in the window.Note: The following fields are mutually exclusive:
good_bad_metric_filter
,good_total_ratio_threshold
,metric_mean_in_range
,metric_sum_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — A monitoring filter
specifying a
TimeSeries
withValueType = BOOL
. The window is good if anytrue
values appear in the window.Note: The following fields are mutually exclusive:
good_bad_metric_filter
,good_total_ratio_threshold
,metric_mean_in_range
,metric_sum_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#good_total_ratio_threshold
def good_total_ratio_threshold() -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold
-
(::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold) — A window is good if its
performance
is high enough.Note: The following fields are mutually exclusive:
good_total_ratio_threshold
,good_bad_metric_filter
,metric_mean_in_range
,metric_sum_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#good_total_ratio_threshold=
def good_total_ratio_threshold=(value) -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold
-
value (::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold) — A window is good if its
performance
is high enough.Note: The following fields are mutually exclusive:
good_total_ratio_threshold
,good_bad_metric_filter
,metric_mean_in_range
,metric_sum_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold) — A window is good if its
performance
is high enough.Note: The following fields are mutually exclusive:
good_total_ratio_threshold
,good_bad_metric_filter
,metric_mean_in_range
,metric_sum_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#metric_mean_in_range
def metric_mean_in_range() -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
-
(::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, averaged
across returned streams.
Note: The following fields are mutually exclusive:
metric_mean_in_range
,good_bad_metric_filter
,good_total_ratio_threshold
,metric_sum_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#metric_mean_in_range=
def metric_mean_in_range=(value) -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
-
value (::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, averaged
across returned streams.
Note: The following fields are mutually exclusive:
metric_mean_in_range
,good_bad_metric_filter
,good_total_ratio_threshold
,metric_sum_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, averaged
across returned streams.
Note: The following fields are mutually exclusive:
metric_mean_in_range
,good_bad_metric_filter
,good_total_ratio_threshold
,metric_sum_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#metric_sum_in_range
def metric_sum_in_range() -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
-
(::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, summed across
returned streams.
Note: The following fields are mutually exclusive:
metric_sum_in_range
,good_bad_metric_filter
,good_total_ratio_threshold
,metric_mean_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#metric_sum_in_range=
def metric_sum_in_range=(value) -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
-
value (::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, summed across
returned streams.
Note: The following fields are mutually exclusive:
metric_sum_in_range
,good_bad_metric_filter
,good_total_ratio_threshold
,metric_mean_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, summed across
returned streams.
Note: The following fields are mutually exclusive:
metric_sum_in_range
,good_bad_metric_filter
,good_total_ratio_threshold
,metric_mean_in_range
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#window_period
def window_period() -> ::Google::Protobuf::Duration
-
(::Google::Protobuf::Duration) — Duration over which window quality is evaluated. Must be an integer
fraction of a day and at least
60s
.
#window_period=
def window_period=(value) -> ::Google::Protobuf::Duration
-
value (::Google::Protobuf::Duration) — Duration over which window quality is evaluated. Must be an integer
fraction of a day and at least
60s
.
-
(::Google::Protobuf::Duration) — Duration over which window quality is evaluated. Must be an integer
fraction of a day and at least
60s
.