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.

Datadog provides solutions for monitoring AWS Lambda, Azure App Service, Azure Container Apps, and Google Cloud Run.

AWS Lambda

Serverless Monitoring for AWS Lambda 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.

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.

You can send custom metrics from a Lambda function by generating metrics from logs and traces, using the Datadog Lambda Extension, or using the Datadog Forwarder Lambda.

With Distributed Tracing, you can connect your serverless traces to metrics for a context-rich picture of your application’s performance. The Datadog Python, Node.js, Ruby, Go, Java, and .NET tracing libraries support distributed tracing for AWS Lambda.

Deployment Tracking helps you to 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.

AWS Step Functions

AWS Step Functions is a serverless orchestration service that lets developers create and manage multi-step application workflows in AWS.

Monitor metrics and logs from the AWS Step Functions Integration to view cloud-native telemetry within the Serverless app view.

Identify bugs and bottlenecks with execution traces. Traces for step functions can be generated from Step Function logs and provide granular execution information, including the state machine execution path, inputs and outputs for each step, and step execution length.

Enhanced Step Function metrics, which appear in Datadog with the prefix aws.states.enhanced, are available at second granularity and generated directly within Datadog.

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 Azure App Service.

Azure Container Apps

Azure Container Apps is a fully managed serverless platform for deploying and scaling container-based applications. Datadog provides monitoring and log collection for Container Apps through the Azure integration.

Datadog also provides a solution, now in beta, for instrumenting your Container Apps applications with a purpose-built Agent to enable tracing, custom metrics, and direct log collection.

Google Cloud Run

Google Cloud Run 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.

Datadog also provides a solution, now in public beta, for instrumenting your Cloud Run applications with a purpose-built Agent to enable tracing, custom metrics, and direct log collection.

Further Reading