---
title: Azure Container Apps
description: >-
  Set up Datadog monitoring for Azure Container Apps with agentic onboarding or
  manual serverless-init instrumentation.
breadcrumbs: Docs > Serverless > Azure Container Apps
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Azure Container Apps

## Overview{% #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](https://docs.datadoghq.com/integrations/azure-container-apps.md#metrics) are distinguished with the `azure.app_containerapps.enhanced.*` namespace.

First, [set up the Azure Integration](https://docs.datadoghq.com/integrations/azure.md) 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](https://docs.datadoghq.com/serverless/azure_container_apps/manual_instrumentation.md)**: Instrument your service yourself, with per-runtime steps for the in-container and sidecar approaches.

## Set up with agentic onboarding{% #set-up-with-agentic-onboarding %}

Two paths use the same [Datadog account](https://docs.datadoghq.com/agentic_onboarding/setup.md):

- **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.

{% tab title="AI Setup CLI" %}
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.
{% /tab %}

{% tab title="MCP server" %}
Use the Datadog MCP Server's [`serverless_onboarding`](https://docs.datadoghq.com/agentic_onboarding/setup.md?tab=serverlessmonitoring#mcp-server) tool. After you connect, try a prompt like:

```
Help me monitor my Azure Container Apps services with Datadog
```

{% /tab %}

## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Disable Serverless Monitoring](https://docs.datadoghq.com/serverless/guide/disable_serverless.md)
- [Collect traces, logs, and custom metrics from Container Apps services](https://www.datadoghq.com/blog/azure-container-apps/)
- [Build secure and scalable Azure serverless applications with the Well-Architected Framework](http://datadoghq.com/blog/azure-well-architected-serverless-applications-best-practices/)
- [Azure Integration](https://docs.datadoghq.com/integrations/azure.md)
- [Datadog MCP Server: serverless_onboarding tool](https://docs.datadoghq.com/mcp_server/tools.md#serverless_onboarding)
