For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/serverless/azure_container_apps.md. A documentation index is available at /llms.txt.

Azure Container Apps

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-init Agent adds distributed tracing, enhanced metrics, custom metrics, and direct log collection. Enhanced metrics are distinguished with the azure.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

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