/kind bug
When a warm pool is enabled for an ASG on AWS there are currently no metrics about the warm pool available/enabled.
When going to the CloudWatch monitoring details tab of the ASG one can see
Enabled metrics
GroupTotalInstances, GroupInServiceInstances, GroupStandbyInstances, GroupDesiredCapacity, GroupTerminatingInstances, GroupMinSize, GroupPendingInstances, GroupMaxSize
This corresponds to the code in
|
func (b *AutoscalingGroupModelBuilder) buildAutoScalingGroupTask(c *fi.CloudupModelBuilderContext, name string, ig *kops.InstanceGroup) (*awstasks.AutoscalingGroup, error) { |
|
t := &awstasks.AutoscalingGroup{ |
|
Name: fi.PtrTo(name), |
|
Lifecycle: b.Lifecycle, |
|
|
|
Granularity: fi.PtrTo("1Minute"), |
|
Metrics: []string{ |
|
"GroupDesiredCapacity", |
|
"GroupInServiceInstances", |
|
"GroupMaxSize", |
|
"GroupMinSize", |
|
"GroupPendingInstances", |
|
"GroupStandbyInstances", |
|
"GroupTerminatingInstances", |
|
"GroupTotalInstances", |
|
}, |
|
|
|
InstanceProtection: fi.PtrTo(false), |
|
} |
The CloudWatch metrics available for a warm pool are described in https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html#as-group-metrics as
WarmPoolMinSize
WarmPoolDesiredCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolWarmedCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
They could be enabled when a warm pool is enabled for an ASG.
/kind bug
When a warm pool is enabled for an ASG on AWS there are currently no metrics about the warm pool available/enabled.
When going to the CloudWatch monitoring details tab of the ASG one can see
This corresponds to the code in
kops/pkg/model/awsmodel/autoscalinggroup.go
Lines 403 to 421 in ae20734
The CloudWatch metrics available for a warm pool are described in https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html#as-group-metrics as
They could be enabled when a warm pool is enabled for an ASG.