Skip to content

Latest commit

 

History

History
101 lines (81 loc) · 4.54 KB

monitor-batch-reference.md

File metadata and controls

101 lines (81 loc) · 4.54 KB
title description ms.date ms.custom ms.topic ms.service
Monitoring data reference for Azure Batch
This article contains important reference material you need when you monitor Azure Batch.
03/28/2024
horz-monitor
reference
azure-batch

Azure Batch monitoring data reference

[!INCLUDE horz-monitor-ref-intro]

See Monitor Azure Batch for details on the data you can collect for Azure Batch and how to use it.

[!INCLUDE horz-monitor-ref-metrics-intro]

Supported metrics for Microsoft.Batch/batchaccounts

The following table lists the metrics available for the Microsoft.Batch/batchaccounts resource type. [!INCLUDE horz-monitor-ref-metrics-tableheader] [!INCLUDE Microsoft.Batch/batchaccounts]

[!INCLUDE horz-monitor-ref-metrics-dimensions-intro]

[!INCLUDE horz-monitor-ref-metrics-dimensions]

  • poolId
  • jobId

[!INCLUDE horz-monitor-ref-resource-logs]

Supported resource logs for Microsoft.Batch/batchaccounts

[!INCLUDE Microsoft.Batch/batchaccounts]

Service log events

Batch service logs contain events emitted by the Batch service during the lifetime of an individual Batch resource, such as a pool or task. The Batch service emits the following log events:

Each event emitted by Batch is logged in JSON format. The following example shows the body of a sample pool create event:

{
    "id": "myPool1",
    "displayName": "Production Pool",
    "vmSize": "Standard_F1s",
    "imageType": "VirtualMachineConfiguration",
    "cloudServiceConfiguration": {
        "osFamily": "3",
        "targetOsVersion": "*"
    },
    "networkConfiguration": {
        "subnetId": " "
    },
    "virtualMachineConfiguration": {
          "imageReference": {
            "publisher": " ",
            "offer": " ",
            "sku": " ",
            "version": " "
          },
          "nodeAgentId": " "
        },
    "resizeTimeout": "300000",
    "targetDedicatedNodes": 2,
    "targetLowPriorityNodes": 2,
    "taskSlotsPerNode": 1,
    "vmFillType": "Spread",
    "enableAutoScale": false,
    "enableInterNodeCommunication": false,
    "isAutoPool": false
}

[!INCLUDE horz-monitor-ref-logs-tables]

Batch Accounts

microsoft.batch/batchaccounts

[!INCLUDE horz-monitor-ref-activity-log]

Related content