March 1, 2023

#engineering, #product

Monitoring AWS Lambda with Axiom

Blog Screenshot
Tola Ore-Aruwaji

Developer Relations Engineer

AWS Lambda is a compute service that allows you to build applications and run your code at scale without provisioning or maintaining any servers. Serverless is becoming more popular, and the number of applications using Serverless running on AWS Lambda is growing rapidly fast, and monitoring your Serverless Applications, Lambda functions, invocation-driven events, Lambda requests, execution time, and usage is becoming a necessity.

We’re excited to announce that you can now deploy the AWS Lambda Extension to collect Lambda logs, performance metrics, platform events, and memory usage from your Lambda functions. With the Axiom Lambda Extension, you can monitor Lambda performance and aggregate system-level metrics for your serverless applications and optimize lambda functions through easy-to-use automatic dashboards.

Learn how hapn used this extension to query a petabyte of AWS Lambda events


You can now quickly and easily enable logging on to your AWS Lambda functions and populate the enhanced dashboard by following this documentation.

With the Axiom Lambda extension, you can now:

  • Monitor your Lambda functions and invocations.
  • Get full visibility into your AWS Lambda events in minutes.
  • Collect metrics and logs from your Lambda-based Serverless Applications.
  • Track and view enhanced memory usage by versions, durations, and cold start.
  • Detect and get alerts on Lambda event errors, Lambda request timeout, and low execution time.

Comprehensive AWS Lambda Dashboards

The Axiom AWS Lambda integration comes with a pre-built dashboard where you can see and group your functions with the versions and AWS resource that triggers them, making this the ideal starting point for getting an advanced view of the performance and health of your AWS Lambda serverless services and Lambda function events. The AWS Lambda dashboards will automatically show up in Axiom through schema detection after installing the Axiom Lambda Extension so you can enable parallel Lambda function processing and get zero configs logging on your Lambda invoke functions and Runtime.

These new zero config dashboards will help you spot and troubleshoot Lambda function errors. For example, suppose there’s high memory usage on your functions. In that case, you can spot the unusual delay from the max execution dashboard and filter your errors by functions, durations, invocations, and versions. With your Lambda version name, you can quickly gain and expand your views on what’s happening in your Lambda event source mapping and Invocation type.

Monitor Lambda Functions and Usage in Axiom

Having real-time visibility into your function logs is important because any duration between sending your lambda request and the execution time can cause a delay and adds to customer-facing latency. You need to be able to measure and track your Lambda invocations, maximum and minimum execution time, and all invocations by function.

With Axiom Lambda Extension, we designed this integration to give you full visibility into the most important metrics and logs coming from your Lambda function out of the box without any further configuration required.

Track Cold Start on your Lambda Function

A cold start occurs when there’s a delay between your invocation and runtime created during the initialization process. During this period, there’s no available function instance to respond to an invocation. With the Axiom built-in Serverless AWS Lambda dashboard, you can track and see the effect of Cold Start on your Lambda functions and its impact on every Lambda function. This data lets you know when to take actionable steps, such as using provisioned concurrency or reducing function dependencies.

Optimize slow-performing Lambda Queries

Grouping logs with Lambda Invocations and Execution Time by function provides insights into your events request and response pattern.

You can extend your query to view when an invocation request is rejected and configure alerts to be notified on Serverless log patterns and Lambda function payloads. With the Invocation request dashboard, you can monitor request function logs and see how your Lambda serverless functions process your events and Lambda queues over time.

Detect timeout on your Lambda Function

Axiom Lambda function monitors let you identify the different points of invocation failures, cold starts delays, and AWS Lambda errors on your Lambda functions. With standard function logs like Invocations by function, and Lambda Cold Start, monitoring the rate of your execution time can alert you to be aware of a significant spike whenever an error occurs in your Lambda function.

Smart Filters

Axiom Lambda Serverless Smart Filters lets you easily filter down to specific AWS Lambda functions or Serverless projects and use our saved queries to get deep insights on how functions are performing with a single click.

Start Logging AWS Lambda Functions with Axiom

Head to the Axiom Lambda Extension repository today to install and set up the logging and advanced monitoring on your Lambda Functions, measure memory usage execution costs, analyze concurrency utilization, and get Zero Config Observability for all your serverless applications.

Get started with Axiom

Learn how to start ingesting, streaming, and
querying data into Axiom in less than 10 minutes.