# Constants
ActionScaleIn performs a scale in operation.
ActionScaleOut performs a scale out operation.
AWSAutoScaling uses AWS AutoScaling groups to provide the client workers.
No description provided by the author
No description provided by the author
GarbageCollectionThreshold is a time in nanoseconds.
ScaleChemtrailSource is the source used when building the start event for a scaling activity.
ScaleDirectionIn indicates that an activity should be undertaken to decrement the current client count.
ScaleDirectionNone is an indication that no scaling action is required.
ScaleDirectionOut indicates that an activity should be undertaken to increment the current client count.
ScaleResourceCPU represents the CPU resource stanza parameter in a Nomad job as specified: https://www.nomadproject.io/docs/job-specification/resources.html#cpu.
ScaleResourceMemory represents the memory resource stanza parameter in a Nomad job as specified: https://www.nomadproject.io/docs/job-specification/resources.html#memory.
ScaleStartMessage is the message used as the first event in a scaling activity.
ScaleStatusCompleted is a terminally successful scaling status.
ScaleStatusFailed is a terminally unsuccessful scaling status.
ScaleStatusInProgress is a general purpose status which all downstream activity providers can use to record scaling operation events.
ScaleStatusStarted represents the initial event of a scaling operation.
# Structs
ClientScalingPolicy represents a Nomad client class scaling document.
No description provided by the author
No description provided by the author
PolicyCheck is an individual check to be performed as part of an autoscaling evaluation of the Nomad client class.
ScalingActivity represents an individual scaling operation and is designed to take the overall configuration, as well as events during the operation.
No description provided by the author
No description provided by the author
# Interfaces
PolicyBackend is the interface which must be satisfied in order to store Chemtrail scaling policies.
ScaleBackend is the interface which storage providers must implement in order to store scaling state.
# Type aliases
ClientProvider is an identifier to the backend which provides the Nomad client workers.
ComparisonAction is the action to take if the metric breaks the threshold.
ComparisonOperator is the operator used when evaluating a metric value against a threshold.
ScaleDirection describes the direction which a scaling activity should take.
ScaleResource is the Nomad resource to evaluate within the defined check.
ScaleStatus describes the state of a scaling activity as well as the state an activity was in when an event was recorded.