Set up, configure, and manage your application for monitoring from the CloudWatch console
This section provides steps to set up, configure, and manage your application for monitoring from the CloudWatch console.
Console procedures
Add and configure an application
Add and configure an application from the CloudWatch console
To get started with CloudWatch Application Insights from the CloudWatch console, perform the following steps.
-
Start. Open the CloudWatch console landing page
. From the left navigation pane, under Insights, choose Application Insights. The page that opens shows the list of applications that are monitored with CloudWatch Application Insights, along with their monitoring status. -
Add an application. To set up monitoring for your application, choose Add an application. When you choose Add an application, you are prompted to Choose Application Type.
-
Resource group-based application. When you select this option, you can choose which resource groups in this account to monitor. To use multiple applications on a component, you must use resource group-based monitoring.
-
Account-based application. When you select this option, you can monitor all of the resources in this account. If you want to monitor all of the resources in an account, we recommend this option over the resource group-based option because the application onboarding process is faster.
Note
You can't combine resource group-based monitoring with account-based monitoring using Application Insights. In order to change the application type, you must delete all of the applications that are being monitored, and Choose Application Type.
When you add your first application for monitoring, CloudWatch Application Insights creates a service-linked role in your account, which gives Application Insights permissions to call other Amazon services on your behalf. For more information about the service-linked role created in your account by Application Insights, see Using service-linked roles for CloudWatch Application Insights.
-
-
-
After you submit your application monitoring configuration, you will be taken to the details page for the application, where you can view the Application summary, the list of Monitored components and Unmonitored components, and, by selecting the tabs next to Components, the Configuration history, Log patterns, and any Tags that you have applied.
To view insights for the application, choose View Insights.
You can update your selections for CloudWatch Events monitoring and integration with Amazon Systems Manager OpsCenter by choosing Edit.
Under Components, you can select the Actions menu to Create, Modify, or Ungroup an instance group.
You can manage monitoring for components, including application tier, log groups, event logs, metrics, and custom alarms, by selecting the bullet next to a component and choosing Manage monitoring.
Enable Application Insights for Amazon ECS and Amazon EKS resource monitoring
You can enable Application Insights to monitor containerized applications and microservices from the Container Insights console. Application Insights supports monitoring for the following resources:
-
Amazon ECS clusters
-
Amazon ECS services
-
Amazon ECS tasks
-
Amazon EKS clusters
When Application Insights is enabled, it provides recommended metrics and logs, detects potential problems, generates CloudWatch Events, and creates automatic dashboards for your containerized applications and microservices.
You can enable Application Insights for containerized resources from the Container Insights or Application Insights consoles.
Enable Application Insights from the Container Insights console
From the Container Insights console, on the Container Insights Performance monitoring dashboard, choose Auto-configure Application Insights. When Application Insights is enabled, it displays details about detected problems.
Enable Application Insights from the Application Insights console
When ECS clusters appear in the component list, Application Insights automatically enables additional container monitoring with Container Insights.
For EKS clusters, you can enable additional monitoring with Container Insights to provide diagnostics information, such as container restart failures, to help you isolate and resolve problems. Additional steps are required to set up Container Insights for EKS. For information, see Setting up Container Insights on Amazon EKS and Kubernetes for steps to set up Container Insights on EKS.
Additional monitoring for EKS with Container Insights is supported on Linux instances with EKS.
For more information about Container Insights support for ECS and EKS clusters, see Using Container Insights.
Disable monitoring for an application component
To disable monitoring for an application component, from the application details page, select the component for which you want to disable monitoring. Choose Actions, and then Remove from monitoring.
Delete an application
To delete an application, from the CloudWatch dashboard, on the left navigation pane, choose Application Insights under Insights. Select the application that you want to delete. Under Actions, choose Delete application. This deletes monitoring and deletes all of the saved monitors for application components. The application resources are not deleted.