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
Returns
-
(::String) — A monitoring filter
specifying a
TimeSeries
withValueType = BOOL
. The window is good if anytrue
values appear in the window.
#good_bad_metric_filter=
def good_bad_metric_filter=(value) -> ::String
Parameter
-
value (::String) — A monitoring filter
specifying a
TimeSeries
withValueType = BOOL
. The window is good if anytrue
values appear in the window.
Returns
-
(::String) — A monitoring filter
specifying a
TimeSeries
withValueType = BOOL
. The window is good if anytrue
values appear in the window.
#good_total_ratio_threshold
def good_total_ratio_threshold() -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold
Returns
-
(::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold) — A window is good if its
performance
is high enough.
#good_total_ratio_threshold=
def good_total_ratio_threshold=(value) -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold
Parameter
-
value (::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold) — A window is good if its
performance
is high enough.
Returns
-
(::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold) — A window is good if its
performance
is high enough.
#metric_mean_in_range
def metric_mean_in_range() -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
Returns
- (::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, averaged across returned streams.
#metric_mean_in_range=
def metric_mean_in_range=(value) -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
Parameter
- 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.
Returns
- (::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, averaged across returned streams.
#metric_sum_in_range
def metric_sum_in_range() -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
Returns
- (::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, summed across returned streams.
#metric_sum_in_range=
def metric_sum_in_range=(value) -> ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
Parameter
- 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.
Returns
- (::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange) — A window is good if the metric's value is in a good range, summed across returned streams.
#window_period
def window_period() -> ::Google::Protobuf::Duration
Returns
-
(::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
Parameter
-
value (::Google::Protobuf::Duration) — Duration over which window quality is evaluated. Must be an integer
fraction of a day and at least
60s
.
Returns
-
(::Google::Protobuf::Duration) — Duration over which window quality is evaluated. Must be an integer
fraction of a day and at least
60s
.