class Google::Apis::MonitoringV3::DistributionCut
A DistributionCut
defines a TimeSeries
and thresholds used for measuring good service and total service. The TimeSeries
must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the estimated count of values in the Distribution
that fall within the specified min and max.
Attributes
A monitoring filter (cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries
aggregating values. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. Corresponds to the JSON property `distributionFilter` @return [String]
Range
of numerical values within min and max. Corresponds to the JSON property `range` @return [Google::Apis::MonitoringV3::GoogleMonitoringV3Range]
Public Class Methods
# File lib/google/apis/monitoring_v3/classes.rb, line 1093 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 1098 def update!(**args) @distribution_filter = args[:distribution_filter] if args.key?(:distribution_filter) @range = args[:range] if args.key?(:range) end