Difference between revisions of "AWS CloudWatch Container Insights"
Jump to navigation
Jump to search
↑ https://aws.amazon.com/about-aws/whats-new/2019/07/introducing-container-insights-for-ecs-and-aws-fargate-in-preview/
↑ https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-EKS.html
(27 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[wikipedia:Container Insights]] (2019) <ref>https://aws.amazon.com/about-aws/whats-new/2019/07/introducing-container-insights-for-ecs-and-aws-fargate-in-preview/</ref> is a service that collects data as performance log events using the [[embedded metric format]]. | + | [[wikipedia:Container Insights]] ([[AWS timeline|Jul 2019]]) <ref>https://aws.amazon.com/about-aws/whats-new/2019/07/introducing-container-insights-for-ecs-and-aws-fargate-in-preview/</ref> is a service that collects data as performance log events using the [[embedded metric format]]. |
For Amazon ECS, network metrics are available only for containers in [[bridge network mode]]. They are not available for containers in [[awsvpc network mode]] or [[host network mode]]. | For Amazon ECS, network metrics are available only for containers in [[bridge network mode]]. They are not available for containers in [[awsvpc network mode]] or [[host network mode]]. | ||
+ | |||
+ | |||
+ | == Operations == | ||
+ | ===To enable service to all new [[ECS]] clusters=== | ||
+ | *<code>[[aws ecs put-account-setting]] --name "containerInsights" --value "enabled"</code> | ||
+ | * Enable on specific cluster: <code>[[aws ecs update-cluster-settings]] --cluster myCICluster --settings name=containerInsights,value=enabled</code> | ||
+ | |||
+ | ===Set account-level permission to enable Container Insights for any new Amazon ECS clusters=== | ||
+ | * <code>aws ecs put-account-setting --name "containerInsights" --value "enabled"</code> | ||
+ | |||
+ | ===Enable Container Insights on an existing Amazon ECS cluster=== | ||
+ | *<code>aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=enabled</code> | ||
+ | |||
+ | ===Disable Container Insights on an existing Amazon ECS cluster=== | ||
+ | *<code>aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=disabled</code> | ||
== Related terms == | == Related terms == | ||
+ | * [[AWS ECS]] | ||
* [[AKS]]: [[CMK]] | * [[AKS]]: [[CMK]] | ||
− | * [[ | + | * <code>[[aws_ecs_cluster]], [[settings]] [[containerInsights]]</code> |
− | * [[Container | + | * [[Amazon CloudWatch Synthetics]] |
− | * [[ | + | * <code>[[MCycle: module.downstream-clusters-EKS.module.eks.output.cluster certificate authority data]]</code> |
+ | |||
+ | == News == | ||
+ | * Amazon EKS [[EKS versions|v1.23]] (Dec 2021) and later supported: [[Setting up Container Insights on Amazon EKS and Kubernetes]] <ref>https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-EKS.html</ref> | ||
+ | * Aug 2021 [[Prometheus]] support https://aws.amazon.com/blogs/containers/introducing-cloudwatch-container-insights-prometheus-support-with-aws-distro-for-opentelemetry-on-amazon-ecs-and-amazon-eks/ | ||
== See also == | == See also == | ||
− | |||
− | |||
* {{Insights}} | * {{Insights}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 16:42, 11 March 2024
wikipedia:Container Insights (Jul 2019) [1] is a service that collects data as performance log events using the embedded metric format.
For Amazon ECS, network metrics are available only for containers in bridge network mode. They are not available for containers in awsvpc network mode or host network mode.
Contents
Operations[edit]
To enable service to all new ECS clusters[edit]
aws ecs put-account-setting --name "containerInsights" --value "enabled"
- Enable on specific cluster:
aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=enabled
Set account-level permission to enable Container Insights for any new Amazon ECS clusters[edit]
aws ecs put-account-setting --name "containerInsights" --value "enabled"
Enable Container Insights on an existing Amazon ECS cluster[edit]
aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=enabled
Disable Container Insights on an existing Amazon ECS cluster[edit]
aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=disabled
Related terms[edit]
- AWS ECS
- AKS: CMK
aws_ecs_cluster, settings containerInsights
- Amazon CloudWatch Synthetics
MCycle: module.downstream-clusters-EKS.module.eks.output.cluster certificate authority data
News[edit]
- Amazon EKS v1.23 (Dec 2021) and later supported: Setting up Container Insights on Amazon EKS and Kubernetes [2]
- Aug 2021 Prometheus support https://aws.amazon.com/blogs/containers/introducing-cloudwatch-container-insights-prometheus-support-with-aws-distro-for-opentelemetry-on-amazon-ecs-and-amazon-eks/
See also[edit]
- AWS: Insights: RDS Performance Insights, Container Insights, Lambda Insights, Application Insights, CloudTrail Insights, Logs Insights
Advertising: