Class: Google::Cloud::Monitoring::V3::WindowsBasedSli
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::V3::WindowsBasedSli
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/monitoring/v3/service.rb
Overview
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
.
Defined Under Namespace
Classes: MetricRange, PerformanceThreshold
Instance Attribute Summary collapse
-
#good_bad_metric_filter ⇒ ::String
A monitoring filter specifying a
TimeSeries
withValueType = BOOL
. -
#good_total_ratio_threshold ⇒ ::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold
A window is good if its
performance
is high enough. -
#metric_mean_in_range ⇒ ::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 ⇒ ::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 ⇒ ::Google::Protobuf::Duration
Duration over which window quality is evaluated.
Instance Attribute Details
#good_bad_metric_filter ⇒ ::String
Returns A monitoring filter
specifying a TimeSeries
with ValueType = BOOL
. The window is good if
any true
values appear in the window.
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 589 class WindowsBasedSli include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A `PerformanceThreshold` is used when each window is good when that window # has a sufficiently high `performance`. # @!attribute [rw] performance # @return [::Google::Cloud::Monitoring::V3::RequestBasedSli] # `RequestBasedSli` to evaluate to judge window quality. # @!attribute [rw] basic_sli_performance # @return [::Google::Cloud::Monitoring::V3::BasicSli] # `BasicSli` to evaluate to judge window quality. # @!attribute [rw] threshold # @return [::Float] # If window `performance >= threshold`, the window is counted as good. class PerformanceThreshold include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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`. # @!attribute [rw] time_series # @return [::String] # A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) # specifying the `TimeSeries` to use for evaluating window quality. # @!attribute [rw] range # @return [::Google::Cloud::Monitoring::V3::Range] # Range of values considered "good." For a one-sided range, set one bound # to an infinite value. class MetricRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#good_total_ratio_threshold ⇒ ::Google::Cloud::Monitoring::V3::WindowsBasedSli::PerformanceThreshold
Returns A window is good if its performance
is high enough.
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 589 class WindowsBasedSli include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A `PerformanceThreshold` is used when each window is good when that window # has a sufficiently high `performance`. # @!attribute [rw] performance # @return [::Google::Cloud::Monitoring::V3::RequestBasedSli] # `RequestBasedSli` to evaluate to judge window quality. # @!attribute [rw] basic_sli_performance # @return [::Google::Cloud::Monitoring::V3::BasicSli] # `BasicSli` to evaluate to judge window quality. # @!attribute [rw] threshold # @return [::Float] # If window `performance >= threshold`, the window is counted as good. class PerformanceThreshold include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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`. # @!attribute [rw] time_series # @return [::String] # A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) # specifying the `TimeSeries` to use for evaluating window quality. # @!attribute [rw] range # @return [::Google::Cloud::Monitoring::V3::Range] # Range of values considered "good." For a one-sided range, set one bound # to an infinite value. class MetricRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#metric_mean_in_range ⇒ ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
Returns A window is good if the metric's value is in a good range, averaged across returned streams.
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 589 class WindowsBasedSli include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A `PerformanceThreshold` is used when each window is good when that window # has a sufficiently high `performance`. # @!attribute [rw] performance # @return [::Google::Cloud::Monitoring::V3::RequestBasedSli] # `RequestBasedSli` to evaluate to judge window quality. # @!attribute [rw] basic_sli_performance # @return [::Google::Cloud::Monitoring::V3::BasicSli] # `BasicSli` to evaluate to judge window quality. # @!attribute [rw] threshold # @return [::Float] # If window `performance >= threshold`, the window is counted as good. class PerformanceThreshold include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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`. # @!attribute [rw] time_series # @return [::String] # A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) # specifying the `TimeSeries` to use for evaluating window quality. # @!attribute [rw] range # @return [::Google::Cloud::Monitoring::V3::Range] # Range of values considered "good." For a one-sided range, set one bound # to an infinite value. class MetricRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#metric_sum_in_range ⇒ ::Google::Cloud::Monitoring::V3::WindowsBasedSli::MetricRange
A window is good if the metric's value is in a good range, summed across returned streams.
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 589 class WindowsBasedSli include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A `PerformanceThreshold` is used when each window is good when that window # has a sufficiently high `performance`. # @!attribute [rw] performance # @return [::Google::Cloud::Monitoring::V3::RequestBasedSli] # `RequestBasedSli` to evaluate to judge window quality. # @!attribute [rw] basic_sli_performance # @return [::Google::Cloud::Monitoring::V3::BasicSli] # `BasicSli` to evaluate to judge window quality. # @!attribute [rw] threshold # @return [::Float] # If window `performance >= threshold`, the window is counted as good. class PerformanceThreshold include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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`. # @!attribute [rw] time_series # @return [::String] # A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) # specifying the `TimeSeries` to use for evaluating window quality. # @!attribute [rw] range # @return [::Google::Cloud::Monitoring::V3::Range] # Range of values considered "good." For a one-sided range, set one bound # to an infinite value. class MetricRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#window_period ⇒ ::Google::Protobuf::Duration
Returns Duration over which window quality is evaluated. Must be an integer
fraction of a day and at least 60s
.
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 589 class WindowsBasedSli include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A `PerformanceThreshold` is used when each window is good when that window # has a sufficiently high `performance`. # @!attribute [rw] performance # @return [::Google::Cloud::Monitoring::V3::RequestBasedSli] # `RequestBasedSli` to evaluate to judge window quality. # @!attribute [rw] basic_sli_performance # @return [::Google::Cloud::Monitoring::V3::BasicSli] # `BasicSli` to evaluate to judge window quality. # @!attribute [rw] threshold # @return [::Float] # If window `performance >= threshold`, the window is counted as good. class PerformanceThreshold include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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`. # @!attribute [rw] time_series # @return [::String] # A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) # specifying the `TimeSeries` to use for evaluating window quality. # @!attribute [rw] range # @return [::Google::Cloud::Monitoring::V3::Range] # Range of values considered "good." For a one-sided range, set one bound # to an infinite value. class MetricRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |