google_api_app_engine v0.8.0 GoogleApi.AppEngine.V1.Model.AutomaticScaling View Source
Automatic scaling is based on request rate, response latencies, and other application metrics.
Attributes
- coolDownPeriod (String.t): The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment. Defaults to
nil
. - cpuUtilization (GoogleApi.AppEngine.V1.Model.CpuUtilization.t): Target scaling by CPU usage. Defaults to
nil
. - diskUtilization (GoogleApi.AppEngine.V1.Model.DiskUtilization.t): Target scaling by disk usage. Defaults to
nil
. - maxConcurrentRequests (integer()): Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value. Defaults to
nil
. - maxIdleInstances (integer()): Maximum number of idle instances that should be maintained for this version. Defaults to
nil
. - maxPendingLatency (String.t): Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. Defaults to
nil
. - maxTotalInstances (integer()): Maximum number of instances that should be started to handle requests for this version. Defaults to
nil
. - minIdleInstances (integer()): Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service. Defaults to
nil
. - minPendingLatency (String.t): Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. Defaults to
nil
. - minTotalInstances (integer()): Minimum number of running instances that should be maintained for this version. Defaults to
nil
. - networkUtilization (GoogleApi.AppEngine.V1.Model.NetworkUtilization.t): Target scaling by network usage. Defaults to
nil
. - requestUtilization (GoogleApi.AppEngine.V1.Model.RequestUtilization.t): Target scaling by request utilization. Defaults to
nil
. - standardSchedulerSettings (GoogleApi.AppEngine.V1.Model.StandardSchedulerSettings.t): Scheduler settings for standard environment. Defaults to
nil
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.AppEngine.V1.Model.AutomaticScaling{
coolDownPeriod: String.t(),
cpuUtilization: GoogleApi.AppEngine.V1.Model.CpuUtilization.t(),
diskUtilization: GoogleApi.AppEngine.V1.Model.DiskUtilization.t(),
maxConcurrentRequests: integer(),
maxIdleInstances: integer(),
maxPendingLatency: String.t(),
maxTotalInstances: integer(),
minIdleInstances: integer(),
minPendingLatency: String.t(),
minTotalInstances: integer(),
networkUtilization: GoogleApi.AppEngine.V1.Model.NetworkUtilization.t(),
requestUtilization: GoogleApi.AppEngine.V1.Model.RequestUtilization.t(),
standardSchedulerSettings:
GoogleApi.AppEngine.V1.Model.StandardSchedulerSettings.t()
}
t() :: %GoogleApi.AppEngine.V1.Model.AutomaticScaling{ coolDownPeriod: String.t(), cpuUtilization: GoogleApi.AppEngine.V1.Model.CpuUtilization.t(), diskUtilization: GoogleApi.AppEngine.V1.Model.DiskUtilization.t(), maxConcurrentRequests: integer(), maxIdleInstances: integer(), maxPendingLatency: String.t(), maxTotalInstances: integer(), minIdleInstances: integer(), minPendingLatency: String.t(), minTotalInstances: integer(), networkUtilization: GoogleApi.AppEngine.V1.Model.NetworkUtilization.t(), requestUtilization: GoogleApi.AppEngine.V1.Model.RequestUtilization.t(), standardSchedulerSettings: GoogleApi.AppEngine.V1.Model.StandardSchedulerSettings.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.