---
title: Azure Durable Task Scheduler
description: >-
  Monitor Azure Durable Task Scheduler pending work items, connected workers,
  dispatched actions, and payload storage.
breadcrumbs: Docs > Integrations > Azure Durable Task Scheduler
---

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

# Azure Durable Task Scheduler
Integration version1.0.0
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

[Azure Durable Task Scheduler](https://learn.microsoft.com/azure/durable-task/scheduler/durable-task-scheduler) is a managed backend for Durable Functions and the Durable Task SDKs. It stores orchestration state and dispatches orchestrator, activity, and entity work items to connected apps. This integration collects pending and active work item counts for orchestrators, activities, and entities. The integration also collects connected worker counts, dispatched action counts, and the size of each scheduler's payloads table.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Microsoft Azure integration](https://docs.datadoghq.com/integrations/azure.md) first. There are no other installation steps.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **azure.durabletask_schedulers.count**(gauge)                        | Number of Azure Durable Task Scheduler resources.                               |
| **azure.durabletask_schedulers.activity_active_items**(gauge)      | Number of activity work items being actively processed.                         |
| **azure.durabletask_schedulers.activity_pending_items**(gauge)     | Number of activity work items ready to be processed.                            |
| **azure.durabletask_schedulers.connected_workers**(gauge)           | Number of workers connected to a task hub.                                      |
| **azure.durabletask_schedulers.entity_active_items**(gauge)        | Number of entity work items being actively processed.                           |
| **azure.durabletask_schedulers.entity_pending_items**(gauge)       | Number of entity work items ready to be processed.                              |
| **azure.durabletask_schedulers.orchestrator_active_items**(gauge)  | Number of orchestrator work items being actively processed.                     |
| **azure.durabletask_schedulers.orchestrator_pending_items**(gauge) | Number of orchestrator work items ready to be processed.                        |
| **azure.durabletask_schedulers.data_used_in_bytes**(gauge)        | Size of the payloads table.*Shown as byte*                                      |
| **azure.durabletask_schedulers.activity_actions**(count)            | Number of activity actions.                                                     |
| **azure.durabletask_schedulers.entity_actions**(count)              | Number of entity actions.                                                       |
| **azure.durabletask_schedulers.orchestration_actions**(count)       | Number of orchestration actions.                                                |
| **azure.durabletask_schedulers.timer_actions**(count)               | Number of timer actions.                                                        |
| **azure.durabletask_schedulers.total_actions**(count)               | Total number of actions across orchestration, activity, timer, and entity work. |

### Service Checks{% #service-checks %}

The Azure Durable Task Scheduler integration does not include any service checks.

### Events{% #events %}

The Azure Durable Task Scheduler integration does not include any events.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
