---
title: Azure Batch
description: >-
  Monitor Azure Batch node states, task outcomes, and job, pool, and API
  activity.
breadcrumbs: Docs > Integrations > Azure Batch
---

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

# Azure Batch

{% 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 Batch runs large-scale parallel and high-performance computing (HPC) jobs on pools of virtual machines that it creates and manages. This integration collects node, task, job, pool, and API metrics from your Batch accounts so you can:

- Visualize the performance of your Batch accounts.
- Correlate the performance of your Batch accounts with your applications.

## 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.batch_batchaccounts.core_count**(count)                            | Total number of dedicated cores in the Batch account.*Shown as core*                                                                           |
| **azure.batch_batchaccounts.creating_node_count**(count)                  | Number of nodes being created.*Shown as node*                                                                                                  |
| **azure.batch_batchaccounts.idle_node_count**(count)                      | Number of idle nodes.*Shown as node*                                                                                                           |
| **azure.batch_batchaccounts.job_delete_complete_events**(count)          | Total number of jobs that have been successfully deleted.*Shown as job*                                                                        |
| **azure.batch_batchaccounts.job_delete_start_events**(count)             | Total number of jobs that have been requested to be deleted.*Shown as job*                                                                     |
| **azure.batch_batchaccounts.job_disable_complete_events**(count)         | Total number of jobs that have been successfully disabled.*Shown as job*                                                                       |
| **azure.batch_batchaccounts.job_disable_start_events**(count)            | Total number of jobs that have been requested to be disabled.*Shown as job*                                                                    |
| **azure.batch_batchaccounts.job_start_events**(count)                     | Total number of jobs that have been successfully started.*Shown as job*                                                                        |
| **azure.batch_batchaccounts.job_terminate_complete_events**(count)       | Total number of jobs that have been successfully terminated.*Shown as job*                                                                     |
| **azure.batch_batchaccounts.job_terminate_start_events**(count)          | Total number of jobs that have been requested to be terminated.*Shown as job*                                                                  |
| **azure.batch_batchaccounts.leaving_pool_node_count**(count)             | Number of nodes leaving the pool.*Shown as node*                                                                                               |
| **azure.batch_batchaccounts.low_priority_core_count**(count)             | Total number of low-priority cores in the Batch account.*Shown as core*                                                                        |
| **azure.batch_batchaccounts.low_priority_node_count**(count)             | Total number of low-priority nodes in the Batch account.*Shown as node*                                                                        |
| **azure.batch_batchaccounts.offline_node_count**(count)                   | Number of offline nodes.*Shown as node*                                                                                                        |
| **azure.batch_batchaccounts.pool_create_event**(count)                    | Total number of pools that have been created.*Shown as event*                                                                                  |
| **azure.batch_batchaccounts.pool_delete_complete_event**(count)          | Total number of pool deletes that have completed.*Shown as event*                                                                              |
| **azure.batch_batchaccounts.pool_delete_start_event**(count)             | Total number of pool deletes that have started.*Shown as event*                                                                                |
| **azure.batch_batchaccounts.pool_resize_complete_event**(count)          | Total number of pool resizes that have completed.*Shown as event*                                                                              |
| **azure.batch_batchaccounts.pool_resize_start_event**(count)             | Total number of pool resizes that have started.*Shown as event*                                                                                |
| **azure.batch_batchaccounts.preempted_node_count**(count)                 | Number of preempted nodes.*Shown as node*                                                                                                      |
| **azure.batch_batchaccounts.rebooting_node_count**(count)                 | Number of rebooting nodes.*Shown as node*                                                                                                      |
| **azure.batch_batchaccounts.reimaging_node_count**(count)                 | Number of reimaging nodes.*Shown as node*                                                                                                      |
| **azure.batch_batchaccounts.running_node_count**(count)                   | Number of running nodes.*Shown as node*                                                                                                        |
| **azure.batch_batchaccounts.start_task_failed_node_count**(count)       | Number of nodes where the start task has failed.*Shown as node*                                                                                |
| **azure.batch_batchaccounts.starting_node_count**(count)                  | Number of nodes starting.*Shown as node*                                                                                                       |
| **azure.batch_batchaccounts.task_complete_event**(count)                  | Total number of tasks that have completed.*Shown as event*                                                                                     |
| **azure.batch_batchaccounts.task_fail_event**(count)                      | Total number of tasks that have completed in a failed state.*Shown as event*                                                                   |
| **azure.batch_batchaccounts.task_start_event**(count)                     | Total number of tasks that have started.*Shown as event*                                                                                       |
| **azure.batch_batchaccounts.total_node_count**(count)                     | Total number of dedicated nodes in the Batch account.*Shown as node*                                                                           |
| **azure.batch_batchaccounts.unusable_node_count**(count)                  | Number of unusable nodes.*Shown as node*                                                                                                       |
| **azure.batch_batchaccounts.waiting_for_start_task_node_count**(count) | Number of nodes waiting for the start task to complete.*Shown as node*                                                                         |
| **azure.batch_batchaccounts.api_request_count**(count)                    | Number of API requests made to the service.*Shown as request*                                                                                  |
| **azure.batch_batchaccounts.api_request_duration**(gauge)                 | Time the server spends handling an API request, measured from when the request is received to when the response is sent.*Shown as millisecond* |
| **azure.batch_batchaccounts.unknown_state_node_count**(count)            | Number of nodes in an unknown state.*Shown as node*                                                                                            |
| **azure.batch_batchaccounts.task_requeue_events**(count)                  | Total number of tasks that were requeued.*Shown as event*                                                                                      |
| **azure.batch_batchaccounts.task_schedule_fail_events**(count)           | Total number of tasks that failed to be scheduled.*Shown as event*                                                                             |
| **azure.batch_batchaccounts.count**(gauge)                                  | Count of Batch accounts.                                                                                                                       |

### Events{% #events %}

The Azure Batch integration does not include any events.

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

The Azure Batch integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

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