AWS CloudWatch Application Signals For AWS Lambda


To track the performance of serverless applications built with AWS Lambda, use CloudWatch Application Signals.

The difficulty of tracking the performance of distributed systems for apps running on Amazon EKS, Amazon ECS, and Amazon EC2 was addressed in November 2023 with the introduction of Amazon CloudWatch Application Signals, an AWS built-in application performance monitoring (APM) solution. Application Signals automatically correlates telemetry across metrics, traces, and logs to speed up troubleshooting and reduce application downtime. With CloudWatch Application Signals' integrated experience for performance analysis within your apps, you can focus on the apps that serve your most critical business operations and boost productivity.

CloudWatch Application Signals for Lambda

AWS is announcing today that Application Signals for AWS Lambda is now available, eliminating the headaches of manual setup and performance issues related to assessing the health of applications for Lambda operations. With CloudWatch Application Signals for Lambda, you can now collect application golden metrics, such as the number of requests arriving in and going out, latency, issues, and errors.

You can focus on creating your application instead of worrying about server health thanks to AWS Lambda, which abstracts away the complexity of the underlying infrastructure. This allows you to focus on monitoring the health and operation of your apps, which is crucial for ensuring their maximum accessibility and efficiency. Understanding performance insights, such as transaction volume, latency spikes, availability dips, and errors, for your critical business processes and application programming interfaces (APIs) is essential for this.

Mean time to recovery (MTTR) and operating costs were raised in the past since it took a lot of time to correlate different logs, KPIs, and traces from several tools in order to identify the root cause of abnormalities. Furthermore, when managing large fleets of Lambda functions, creating your own APM solutions with open source (OSS) libraries or custom code proved time-consuming, difficult, expensive to run, and sometimes resulted in prolonged cold start times and deployment problems. CloudWatch Application Signals makes it simple to monitor and troubleshoot serverless application health and performance issues without requiring manual instrumentation or code changes from your application developers.

How it operates

With the help of CloudWatch Application Signals' pre-built, standardized dashboards, you can rapidly identify the root cause of performance anomalies by digging deeper into performance metrics for important business processes and APIs. This helps visualize the application topology, which shows the relationship between the function and its dependencies. You can also define Service Level Objectives (SLOs) on your applications to monitor certain processes that are most essential to you. An example of a SLO is establishing a goal that a webpage must render in 2000 ms 99.9 percent of the time over a rolling 28-day period.

CloudWatch Application Signals automatically instruments your Lambda function using enhanced AWS Distro for OpenTelemetry (ADOT) modules. Improved performance, such as reduced memory utilization, function invocation length, and cold start delay, allows you to quickly monitor your apps.

Using an existing Lambda function called appsignals1, Application Signals in the Lambda Console collects various data about this application.

By selecting Monitoring and Operations Tools from the function's Configuration tab, you may enable the application signals and the Lambda service traces.

The application myAppSignalsApp has this Lambda function as a resource. You have set up a SLO for your application to monitor specific operations that are most significant to you. Within a rolling one-day period, you want the program to execute within 10 ms 99.9 percent of the time.

CloudWatch Application Signals may take five to ten minutes to detect the function after it has been called. To view the service, you will therefore need to reload the Services page.


You can now see a list of all the Lambda functions that Application Signals has located for you on the Services page. Any telemetry that is released will be seen here.

Next, you may examine the complete application topology using the Service Map and quickly spot anomalies across your service's many processes and dependencies using the newly collected metrics like request volume, latency, faults, and failures. By going into any point in time for any application metric graph to see linked traces and logs related to that metric, you may quickly ascertain whether issues impacting end users are unique to a job or deployment.

Currently accessible

In any AWS Region where both Lambda and Application Signals are available, you can start using Amazon CloudWatch Application Signals for Lambda immediately. Application Signals can now be used by lambda functions that employ managed runtimes for Python and Node.js. More Lambda runtime support will be implemented shortly.

Post a Comment

0 Comments