---
title: Deeper Visibility into Resources Invoking Lambda Functions
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Serverless > Serverless Monitoring Guides > Deeper Visibility into
  Resources Invoking Lambda Functions
---

# Deeper Visibility into Resources Invoking Lambda Functions

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

While grouping by service is the default, you can also group your resources by AWS CloudFormation stack name, as well as any other tags you've configured (such as team, project, or environment).

## Setup{% #setup %}

To instrument your Lambda functions for the first time, follow the [serverless installation instructions](https://docs.datadoghq.com/serverless/installation.md).

Managed resources are automatically connected to your AWS Lambda functions if all of the following are true:

- Your functions are written in Node.js or Python Lambda runtimes.
- [APM with Datadog's X-Ray integration](https://docs.datadoghq.com/serverless/distributed_tracing.md#choose-your-tracing-library) is configured on your functions and [configured Datadog's Lambda Library is configured to enrich AWS X-Ray segments](https://docs.datadoghq.com/integrations/amazon_xray.md#enriching-xray-segments-with-datadog-libraries), **OR** [APM with Datadog's tracing libraries](https://docs.datadoghq.com/serverless/distributed_tracing.md#choose-your-tracing-library) (`dd-trace`) is configured on your functions.
- The managed resource invoking your function is one of the following: API Gateway, SQS, SNS, EventBridge, Kinesis, DynamoDB, S3.
- Your functions are instrumented with a recent version of Datadog's Lambda Library (>= `v3.46.0` for Node, >= `v28` for Python).
