-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-ecs): Add support for Container Insights with enhanced observability #32618
Comments
Hi @MPOgbourne , Looks like Cloudformation L1 construct already has a support for the container insights -https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.CfnCluster.ClusterSettingsProperty.html Thanks for volunteering for contribution of PR! Team would be happy to review it. |
Is there an ETA on L2 support? |
@BwL1289 , there is no ETA on L2 support. Since @MPOgbourne has already submitted this PR, it is just a matter of sometime till PR gets reviewed and merged. |
+1 for L2 support! |
Comments on closed issues and PRs are hard for our team to see. |
1 similar comment
Comments on closed issues and PRs are hard for our team to see. |
### Issue # (if applicable) Closes #32618. ### Reason for this change Container Insights with enhanced observability was recently announced and released for ECS. Cloudformation and the L1 CFN construct support setting this at cluster level. This adds the Container Insights with enhanced observability as an option for the existing L2 Cluster construct. ### Description of changes ENHANCED was added to the ContainerInsights enum. A new containerInsightsV2 property was added to the Cluster construct with the type ContainerInsights. The existing containerInsights property was marked as deprecated. ### Description of how you validated changes Unit and Integration tests were added. ### Checklist - [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the feature
Container Insights with enhanced observability was recently announced and released for ECS. Cloudformation supports setting this at cluster level.
Container Insights with enhanced observability now available in Amazon ECS
Use Case
I'm excited to try out the new observability features, but it's simpler if I can implement the change via the CDK. This is supported via cloudformation.
Proposed Solution
I would propose being able to directly set the container insights level (disabled, enabled, enhanced) on the L2 cluster construct. Ideally, this would be something like
new ecs.Cluster(stack, 'EcsCluster', { containerInsights: ContainerInsights.ENHANCED});
.To avoid a breaking change, a new property (containerInsightsLevel?) will be added and the containerInsights property will be marked as deprecated.
Other Information
No response
Acknowledgements
CDK version used
2.173.2
Environment details (OS name and version, etc.)
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: