Custom Metric Args
data class CustomMetricArgs(val filter: Output<String>? = null, val metricName: Output<String>? = null, val singleInstanceAssignment: Output<Double>? = null, val targetType: Output<String>? = null, val targetUtilization: Output<Double>? = null) : ConvertibleToJava<CustomMetricArgs>
Allows autoscaling based on Stackdriver metrics.
Constructors
Properties
Link copied to clipboard
The name of the metric.
Link copied to clipboard
May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.
Link copied to clipboard
The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.
Link copied to clipboard
The target value for the metric.