Overview
Azure Container Apps is a fully managed serverless platform for deploying and scaling containerized applications. Datadog monitors Container Apps in two layers:
- The Azure Integration collects standard metrics and logs.
- The Datadog
serverless-initAgent adds distributed tracing, enhanced metrics, custom metrics, and direct log collection. Enhanced metrics are distinguished with theazure.app_containerapps.enhanced.*namespace.
First, set up the Azure Integration to collect metrics and logs.
Then, choose one of two paths to instrument your application with the serverless-init Agent:
- Set up with agentic onboarding: An AI assistant instruments your service for you, using the AI Setup CLI or the Datadog MCP Server.
- Set up with manual instrumentation: Instrument your service yourself, with per-runtime steps for the in-container and sidecar approaches.
Set up with agentic onboarding
Two paths use the same Datadog account:
- AI Setup CLI: A standalone terminal tool. Use it when you don't want to install an MCP server.
- MCP server: Set up from your IDE through a coding assistant such as Claude Code or Cursor.
Run the CLI in your project directory (requires Node.js 22+). It links your Datadog account, then instruments your Azure Container Apps service:
npx @datadog/ai-setup-cli --product serverless --serverless-compute-type=azure-container-apps
Omit --product to run interactively, or add --site to target your Datadog site.
Use the Datadog MCP Server's serverless_onboarding tool. After you connect, try a prompt like:
Help me monitor my Azure Container Apps services with Datadog
Further reading
Additional helpful documentation, links, and articles: