google_api_compute v0.11.0 GoogleApi.Compute.V1.Model.AutoscalingPolicyCustomMetricUtilization View Source
Custom utilization metric policy.
Attributes
metric
(type:String.t
, default:nil
) - The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values.The metric must have a value type of INT64 or DOUBLE.
utilizationTarget
(type:float()
, default:nil
) - The target value of the metric that autoscaler should maintain. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric.For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.
utilizationTargetType
(type:String.t
, default:nil
) - Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.