Serverless


Make sure to check out discussions going on in the #serverless channel in the Datadog Slack community.

Datadog Serverless Monitoring provides full visibility into all of the managed services that power your serverless applications by bringing together real-time metrics, logs and traces from your serverless compute as well as related fully-managed APIs, queues, streams and data stores.

The following section outlines Datadog’s solution for monitoring AWS serverless applications and Lambda functions. You can also learn more about support for monitoring Azure serverless and Google serverless applications.

Explore Datadog Serverless Monitoring for AWS Lambda

To get started, follow the installation instructions to collect metrics, traces, and logs from your serverless applications.

Monitor your entire serverless stack in the Serverless view

The Serverless view enables you to correlate high-level metrics from AWS resources with those of Lambda functions, so you can quickly spot issues and start your investigation.

By default, the Serverless view groups your serverless resources by service to help you visualize how each part of your application is performing. For each service, you can see the functions that belong to it, along with the resources (Amazon API Gateway, SNS, SQS, DynamoDB, S3, EventBridge, Kinesis) that invoked them.

Datadog Serverless Monitoring

Resolve AWS Lambda function failures faster by monitoring invocation payloads

Datadog automatically collects function requests and responses for all of your function invocations, providing key information that can help troubleshoot issues. For example, if you’re notified that one of your Lambda functions is experiencing failures, you can analyze relevant request payloads to check for missing parameters, mistyped resource addresses, or other misconfigurations that may be behind the failures.

By identifying misconfigurations in failing requests, you can more easily reproduce issues in your development environment—and then run tests to verify your bug fixes.

Datadog Serverless Monitoring

Real-time metrics for alerting on issues across your Lambda function environment

Datadog’s enhanced Lambda metrics, which appear in Datadog with the prefix aws.lambda.enhanced, are available at second granularity and in near real time. You can use enhanced Lambda metrics for alerts or SLOs on cold starts, estimated AWS costs, timeouts, out-of-memory errors, and memory usage across all of your Lambda functions. This enables you to view performance issues in your serverless environments as they occur and troubleshoot without delay.

Datadog Serverless Monitoring

Monitor serverless configuration changes with deployment tracking

Easily correlate serverless code, configuration, and deployment changes with metrics, traces, and logs from your functions for real-time insight into how these changes may affect the health and performance of your applications.

Datadog Serverless Monitoring

Datadog Serverless Monitoring for other serverless clouds

Azure App Service

The Datadog extension for Azure App Service provides tracing capabilities for Azure Web Apps.

Use the Azure App Service view to:

  • Quickly identify apps with high latency or errors

  • Track the utilization of your Web Apps, Function Apps, and App Service Plans

  • Get insights into the costs of your App Service Plans by visualizing the number of active instances and seeing which are running apps that are submitting traces or logs to Datadog

  • Map the apps running on your App Service Plans to identify apps that may be impacting costs or performance

The Datadog extension for Azure App Service provides tracing capabilities for Azure Web Apps. For more information about setting up tracing in Azure, see the Azure App Service Extension documentation.

Google Cloud Functions

Google Cloud Functions is a lightweight, event-based, asynchronous compute solution that allows you to create small, single-purpose functions. To monitor serverless functions running on Google Cloud Platform, enable the Google Cloud Platform integration.

Further Reading