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

distribution_filter[RW]

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[RW]

Range of numerical values within min and max. Corresponds to the JSON property `range` @return [Google::Apis::MonitoringV3::GoogleMonitoringV3Range]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 1059
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/monitoring_v3/classes.rb, line 1064
def update!(**args)
  @distribution_filter = args[:distribution_filter] if args.key?(:distribution_filter)
  @range = args[:range] if args.key?(:range)
end