eBPF Continuous Profiling released

Last updated:

About AWS Monitoring

Integrate with AWS to scrape CloudWatch metrics, use AWS resource tags, and monitor Lambda functions.

Dash0 integrates with your Amazon Web Services account to provide visibility into your AWS infrastructure. Once connected, Dash0 scrapes CloudWatch metrics from the namespaces you choose, reads your AWS resource tags, and discovers your Lambda functions.

The AWS integration uses CloudFormation to deploy IAM roles with cross-account access. After setup completes (about 2-3 minutes), Dash0:

  • Discovers resources across your selected AWS regions using AWS Resource Explorer.
  • Scrapes CloudWatch metrics from the namespaces you turn on in the integration's Metrics tab. You do not need to set up a CloudWatch Metric Stream or Amazon Data Firehose for these metrics.
  • Reads AWS resource tags so you can limit scraping to tagged resources and filter your telemetry by tag.
  • Enables optional auto-instrumentation to add distributed tracing and logs to specific Lambda functions.

Connect your AWS account via a cross-account IAM role. Dash0 does not store AWS credentials.

Use Cases

  • Collect CloudWatch metrics: Choose CloudWatch namespaces and metrics, such as load balancer, database, or queue metrics, and scrape them into your dataset.
  • Control scraping cost and volume with tags: Scrape only the resources that carry specific AWS tags or live in specific regions.
  • Filter telemetry by AWS tags: Use your existing AWS tags, such as team or environment, to filter and group the telemetry of tagged resources in Dash0.
  • Discover and instrument Lambda functions: One-click auto-instrumentation for Python, Node.js, and Java functions to capture traces, logs, and metrics.

Supported Services

The AWS account integration provides:

  • CloudWatch metrics scraping: Dash0 lists the CloudWatch namespaces that have metrics in your selected regions. You turn on the namespaces you want and choose their metrics. For details, see Collect AWS CloudWatch Metrics.
  • AWS resource tags: Dash0 reads the tags on your AWS resources. You can use them as scrape filters and as attributes on your telemetry. For details, see Use AWS Resource Tags in Dash0.
  • AWS Lambda: Auto-instrumentation for Python, Node.js, and Java functions. Captures traces, logs, and metrics including cold starts, timeouts, and out-of-memory errors. With the Lambda integration turned on, the CloudFormation stack also streams AWS/Lambda metrics to Dash0 for the Lambda functions page.
Note

Container-based Lambda functions (PackageType Image) are not currently supported for auto-instrumentation. Only ZIP-based Lambda functions can be instrumented.

How It Works

The Dash0 AWS integration operates through CloudFormation-managed infrastructure:

  • Authentication: Dash0 connects to your AWS account using cross-account IAM role assumption via STS. No AWS credentials are stored by Dash0. The External ID provided in the CloudFormation template ensures secure, auditable access. All API calls include session names formatted as dash0-{orgID}-{integrationID} for CloudTrail tracking.

  • Discovery and Inventory: Dash0 uses AWS Resource Explorer to discover resources across your selected regions. For Lambda functions, EventBridge rules forward CloudTrail lifecycle events (CreateFunction, DeleteFunction, UpdateFunctionConfiguration) to keep the inventory synchronized automatically.

  • Metrics Scraping: Dash0 queries the CloudWatch API in your account for the namespaces and metrics you select, then writes the results to your dataset. Scraped metrics use the same metric names as the CloudWatch Metric Stream integration. To compare the two approaches, see Scraping vs. Metric Streams.

  • Resource Tags: Dash0 reads your AWS resource tags and adds them to the matching resource as dash0.cloud.tags.<key> attributes. The tags apply to all telemetry Dash0 associates with that resource, including traces from instrumented Lambda functions. You can also use tags and regions as scrape filters. For details, see Filter AWS Metrics by Resource Tags.

  • Lambda Instrumentation: When you select Lambda functions to instrument through the Dash0 UI, the system injects a Dash0 Lambda Layer and configures environment variables via the Lambda UpdateFunctionConfiguration API. The layer includes OpenTelemetry auto-instrumentation that runs as a sidecar alongside your function code. Dash0 validates configurations before instrumentation to detect blockers such as code signing, conflicting vendor layers, or unsupported runtimes.

Getting Started

To start monitoring AWS infrastructure in Dash0:

  1. Select your dataset to store discovered AWS resources and metrics.
  2. Choose AWS regions that Dash0 should cover. Dash0 discovers resources and collects metrics only in the regions you select.
  3. Launch the CloudFormation template by clicking Launch CloudFormation in the Dash0 UI, which opens AWS CloudFormation with the pre-filled template. This deploys IAM roles, permissions, and resources for data collection. Review the stack parameters and confirm deployment.
  4. Return to Dash0 after the CloudFormation stack completes (about 2-3 minutes) to verify the integration.
  5. Choose the metrics to scrape in the integration's Metrics tab.
Tip

For all the details, see Set Up AWS Integration.

Once verified, discovered resources and telemetry appear in the Infrastructure section of the navigation sidebar under AWS.

Viewing AWS Data

Navigate to Infrastructure > AWS in the Dash0 sidebar to see discovered Lambda functions.

Lambda functions table showing metrics including invocations, errors, duration, and cold starts

The Lambda functions page shows:

  • All discovered Lambda functions with their metrics
  • Metrics include invocations, errors, duration, and cold starts
  • Individual function pages with invocation details and links to distributed traces

For details on viewing Lambda traces and instrumentation, see:

You can query scraped CloudWatch metrics using PromQL in the Query Builder or create custom dashboards combining infrastructure and application metrics.

The AWS integration works alongside other AWS-specific integrations available in Dash0:

Next Steps