Supported metrics for Microsoft.Devices/provisioningServices

The following table lists the metrics available for the Microsoft.Devices/provisioningServices resource type.

Table headings

  • Metric - The metric display name as it appears in the Azure portal.
  • Name in Rest API - Metric name as referred to in the REST API.
  • Advanced platform metrics - A premium, paid tier of platform metrics in Azure Monitor that provide more granular observability for Azure resources.
  • Unit - Unit of measure.
  • Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
  • Dimensions - Dimensions available for the metric.
  • Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
  • DS Export - Shows whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.

For information on exporting metrics, see - Create diagnostic settings in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

For a list of supported logs, see Supported log categories - Microsoft.Devices/provisioningServices

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Attestation attempts

Number of device attestations attempted
AttestationAttempts No Count Total (Sum), Count, Average, Minimum, Maximum provisioningServiceName, status, protocol PT1M Yes
Devices assigned

Number of device assigned to an IoT hub
DeviceAssignments No Count Total (Sum), Count, Average, Minimum, Maximum provisioningServiceName, iotHubName PT1M Yes
Device registration authentication errors

Number of device registration attempts that failed authentication
DeviceRegistrationAuthenticationErrors No Count Total (Sum), Count, Average, Minimum, Maximum provisioningServiceName PT1M Yes
Device registration throttling errors

Number of device registration attempts that were throttled
DeviceRegistrationThrottlingErrors No Count Total (Sum), Count, Average, Minimum, Maximum provisioningServiceName PT1M Yes
Number of registrations

Number of device registration records in the provisioning service
NumberOfRegistrations No Count Average, Minimum, Maximum dpsName PT1M Yes
Registration attempts

Number of device registrations attempted
RegistrationAttempts No Count Total (Sum), Count, Average, Minimum, Maximum provisioningServiceName, iotHubName, status, provisioningType PT1M Yes

Next steps