Rapport de recherche Datadog : Bilan sur l'adoption de l'informatique sans serveur Rapport : Bilan sur l'adoption de l'informatique sans serveur


Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.


Serverless is a concept where you write event-driven code and upload it to a cloud provider, which manages all of the underlying compute resources. Datadog Serverless brings together metrics, traces, and logs from your AWS Lambda functions running serverless applications into one view.

Enable the AWS Lambda integration to begin collecting CloudWatch and custom metrics from your Lambda functions.


The Serverless dashboard requires no installation of its own, but it relies on three data sources that require their own installation:

  1. Amazon Web Services integration (required)

    This integration populates the summary graphs and the main functions table. Install this integration and ensure that Lambda metrics are reporting in your account.

    Note: Metrics in the Serverless page are delayed by ~10 minutes, as this is the default speed at which Datadog polls AWS APIs. To find out if your delay can be decreased, contact Datadog support.

  2. AWS X-Ray integration (recommended) This integration provides full end-to-end tracing for requests that hit your Lambda functions. The traces appear in the Serverless function detail page and in Datadog APM.

    To enable this, refer to the AWS X-Ray integration documentation.

    Note: Traces are delayed by ~5 minutes, as this is the speed at which Datadog polls AWS X-Ray APIs.

  3. AWS CloudWatch Logs (recommended)

    Install this to see logs from your Lambda functions in the function detail page. This also populates additional metrics, such as Memory Used (avg) and Last Start in your functions table.

    To enable this, refer to the documentation for sending Lambda logs to Datadog.

Searching, filtering, sorting


Datadog tags your Lambda functions and metrics with relevant AWS metadata and custom tags.

AWS Metadata:

  • account_id
  • executedversion
  • functionname
  • memorysize
  • region
  • resource
  • runtime

In your Datadog IAM policy, add the permissions:

  • lambda:List* to have the tags above collected.
  • tag:GetResources to have custom tags collected.


Use the faceted search functionality along the left side of the page to narrow down the functions that are in view. All AWS and custom tags are available to use as filters.

Selecting metrics on table

Using the settings gear, you can check and uncheck metric columns on the functions table. Below is a table of metrics, their associated integration types, and whether each column is displayed by default:

Duration (Avg)MetricYes
Dead Letter ErrorsMetricNo
Concurrent ExecutionsMetricNo
Iterator AgeMetricNo
Est CostLogsYes
Memory UsedLogsYes
Last StartLogsYes
% Memory UsedLogsNo

Function detail view

Clicking on a particular function in the function summary table brings you to a function detail page. This page provides detailed trace and log level information for that function.

Summary graphs and time selector

Use the summary graphs across the top of screen and the time selector to focus in on a specific time frame you are interested in. The entire page, including the traces and logs shown, updates when you use the time selector.


Via the AWS X-Ray integration, traces from the function currently being viewed are shown in the Traces section. You can sort these traces by attributes such as date, duration, and status.


The Logs section aggregates logs from all recent invocations of the current function. It updates live as your functions send new logs to Datadog.

Trace detail view

Clicking on a particular trace opens the trace detail view for that trace. The X-Ray subsegments are transformed into Datadog spans while preserving the naming paradigms, span tags, and structure of the overall trace.

Datadog provides specially formatted serverless traces for readability and usability. Clicking on the span from another Lambda function creates a link to that function’s detail page, enabling you to jump to another function that is part of the trace.


All logs emitted from a function, and all functions it calls, are pulled into the function detail page as well. Narrow down the timeframe of the page to a specific moment of interest to view the logs during a critical point in time. Click on the logs in the table to see the full log in more detail.


The errors tab bubbles up exceptions that occured during the duration of the trace. This is useful for quickly understanding what went wrong during execution.

Further Reading

Documentation, liens et articles supplémentaires utiles: