Serverless applications, more often than not, have logic distributed over multiple functions and services, which with growth and agents and wrappers attached, can get more complex and costly. This is where Serverless monitoring comes in to help. But what is Serverless monitoring?

Serverless monitoring allows developers to gain important insight on what happens during each execution and event, errors become more easily visible and measuring resource consumption for each invocation is possible. Simply put, there is no better way to optimize the costs and performance of your applications than using a serverless monitoring tool.

While the old tools for AWS logging and monitoring are obsolete here, the requirements for a good logging system remains:

information should be granular

data should be available on the shortest amount of time

log collection should not impact application performance

These are key elements to look out for when finding the most comprehensive serverless monitoring tool.

What is AWS Lambda?
Let’s go back to basics first and remind ourselves exactly what AWS Lambda is and its purpose.

Serverless architectures are an extension of the principles of the Service Oriented Architectures (SOA), where services (functions) communicate using messages (events). When using this approach correctly, serverless architectures can reduce code complexity and provide easier management of an application.

AWS Lambda is a service which runs your code deployed to a container with pre-allocated CPU, disk and memory. Together, your code and its associated configuration are called a Lambda function; these functions run in response to external events or triggers. Lambda functions are “stateless” with no affinity to the underlying infrastructure, allowing developers to focus solely on the code. Lambda is undoubtedly at the heart of Serverless applications.

#devops #aws #monitoring #serverless #monitoring and performance

The Ultimate Guide to Monitoring Serverless Applications
1.15 GEEK