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.
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 447 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.
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 447 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.
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 447 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.
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 447 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
.
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
# File 'proto_docs/google/monitoring/v3/service.rb', line 447 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 |