class Google::Apis::MonitoringV3::PerformanceThreshold
A PerformanceThreshold
is used when each window is good when that window has a sufficiently high performance.
Attributes
An SLI measuring performance on a well-known service type. Performance will be computed on the basis of pre-defined metrics. The type of the service_resource determines the metrics to use and the service_resource.labels and metric_labels are used to construct a monitoring filter to filter that metric down to just the data relevant to this service. Corresponds to the JSON property `basicSliPerformance` @return [Google::Apis::MonitoringV3::BasicSli]
Service
Level Indicators for which atomic units of service are counted directly. Corresponds to the JSON property `performance` @return [Google::Apis::MonitoringV3::RequestBasedSli]
If window performance >= threshold, the window is counted as good. Corresponds to the JSON property `threshold` @return [Float]
Public Class Methods
# File lib/google/apis/monitoring_v3/classes.rb, line 3398 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 3403 def update!(**args) @basic_sli_performance = args[:basic_sli_performance] if args.key?(:basic_sli_performance) @performance = args[:performance] if args.key?(:performance) @threshold = args[:threshold] if args.key?(:threshold) end