Skip to content

feat: add Datadog observability integration for AgentCore Runtime#1166

Open
Robobc wants to merge 1 commit intoawslabs:mainfrom
Robobc:feat/datadog-observability-agentcore-cli
Open

feat: add Datadog observability integration for AgentCore Runtime#1166
Robobc wants to merge 1 commit intoawslabs:mainfrom
Robobc:feat/datadog-observability-agentcore-cli

Conversation

@Robobc
Copy link
Copy Markdown
Contributor

@Robobc Robobc commented Mar 24, 2026

Add two Jupyter notebooks demonstrating Datadog APM integration with Strands agents deployed on Amazon Bedrock AgentCore Runtime:

  • runtime_with_strands_and_datadog.ipynb: Uses the Python starter toolkit for direct API-based deployment with ADOT auto-instrumentation
  • runtime_with_strands_and_datadog_agentcore_cli.ipynb: Uses the AgentCore CLI with Container build and CDK/CloudFormation infrastructure-as-code

Both notebooks export traces to Datadog via OTLP (no sidecar required) using ADOT environment variables configured at deploy time.

Amazon Bedrock AgentCore Samples Pull Request

Important

  1. We strictly follow a issue-first approach, please first open an issue relating to this Pull Request.
  2. Once this Pull Request is ready for review please attach review ready label to it. Only PRs with review ready will be reviewed.

Issue number:

Concise description of the PR

Summary

Add Datadog APM integration to the partner observability tutorials.

What's included

`Datadog/` folder with two notebooks:

Notebook Deployment Method Build Type
`runtime_with_strands_and_datadog.ipynb` Python starter toolkit Container (ECR)
`runtime_with_strands_and_datadog_agentcore_cli.ipynb` AgentCore CLI Container (CDK/CloudFormation)

Both notebooks deploy a Strands agent with calculator and weather tools to AgentCore Runtime, with traces exported to Datadog via ADOT OTLP — no Datadog Agent sidecar required.

How it works

  • `AGENT_OBSERVABILITY_ENABLED=true` enables ADOT auto-instrumentation in the container
  • OTEL env vars route traces directly to Datadog's OTLP intake endpoint
  • Dual observability: CloudWatch (automatic) + Datadog APM

Testing

Both notebooks have been tested end-to-end with traces confirmed in Datadog APM.

User experience

Please share what the user experience looks like before and after this change

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • Add your name to CONTRIBUTORS.md
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Are you uploading a dataset?
  • Have you documented Introduction, Architecture Diagram, Prerequisites, Usage, Sample Prompts, and Clean Up steps in your example README?
  • I agree to resolve any issues created for this example in the future.
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

Add two Jupyter notebooks demonstrating Datadog APM integration with
Strands agents deployed on Amazon Bedrock AgentCore Runtime:

- runtime_with_strands_and_datadog.ipynb: Uses the Python starter toolkit
  for direct API-based deployment with ADOT auto-instrumentation
- runtime_with_strands_and_datadog_agentcore_cli.ipynb: Uses the AgentCore
  CLI with Container build and CDK/CloudFormation infrastructure-as-code

Both notebooks export traces to Datadog via OTLP (no sidecar required)
using ADOT environment variables configured at deploy time.
@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot added 01-tutorials 01-tutorials 06-AgentCore-observability 01-tutorials/06-AgentCore-observability labels Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

01-tutorials 01-tutorials 06-AgentCore-observability 01-tutorials/06-AgentCore-observability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant