Skip to content

CloudWatch Application Insights Missing Load Balancer & API Gateway Components

0

Hello,

I am setting up CloudWatch Application Insights to monitor key services (excluding EC2 instances) across multiple production accounts. My goal is to include services like API Gateway, RDS DB Instance, ECS Cluster, EKS Cluster, and Load Balancer.

Steps I Took:

  1. Created a resource group in each production account using the OwnerTeam tag key to group resources.
  2. Created Application Insights using the resource group as the source. Issue: After setting up Application Insights and proceeding to the review step, I noticed that some Load Balancers and API Gateways are missing from the service components, even though they are included in the resource group.

Here the snapshot of the resource group: Enter image description here It contains two other Resource group. Here one of the resource group: Enter image description here You can see there are 3 RDS DB Instance, 4 ECS Cluster and 5 Load Balancer (ALB and NLB).

Here the snapshot of the application insight component: Enter image description here There is only 1 Load Balancer that visible in the application insight monitoring component.

Has anyone encountered this issue before? Are there any additional configurations required to ensure all resources appear in Application Insights?

Thanks in advance!

1 Answer
0

The issue you're experiencing with CloudWatch Application Insights not showing all your resources, particularly Load Balancers and API Gateways, is a known limitation of the service. Application Insights doesn't automatically include all resource types in its monitoring, even if they are part of the resource group you've specified.

For Load Balancers, it appears that Application Insights is only detecting one out of the five you have in your resource group. This partial detection could be due to various factors, such as the specific type of Load Balancer (ALB vs NLB) or how recently they were created.

Regarding API Gateways, these are currently not supported by CloudWatch Application Insights for automatic discovery and monitoring. This is why you're not seeing them in the Application Insights components, even though they're present in your resource group.

To address this issue:

  1. For the missing Load Balancers, you may need to manually add them to your Application Insights monitoring. Check if there's an option to add components manually within the Application Insights configuration.

  2. For API Gateways, since they're not currently supported by Application Insights, you'll need to set up separate CloudWatch alarms and dashboards to monitor these resources.

  3. Ensure that all your resources have the necessary permissions and roles attached. For instance, make sure the AmazonSSMManagedInstanceCore and CloudWatchAgentServerPolicy policies are attached to the instance roles of your EC2 instances if you're using any.

  4. If you're still missing resources that should be supported, it might be worth checking if there are any configuration issues or reaching out to AWS support for further assistance.

Remember that CloudWatch Application Insights is continually evolving, and AWS may add support for additional resource types in the future. In the meantime, for critical resources not showing up in Application Insights, you may need to use alternative methods for tracking and managing these resources, such as service-specific APIs, the AWS CLI, or other CloudWatch features.
Sources
AWS Resource Explorer does not see all Resources | AWS re:Post
Prerequisites to configure an application for monitoring - Amazon CloudWatch

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.