Edit

Share via


Supported metrics for Microsoft.DevCenter/devcenters

The following table lists the metrics available for the Microsoft.DevCenter/devcenters 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.
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- Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.

For information on exporting metrics, see - Metrics export using data collection rules and 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.DevCenter/devcenters

Category: Connections

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Successful connect

Count of devbox connections.
DevBoxConnect Count Count ProjectId PT1M Yes

Category: DevBox Creations

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Failed creations

Count of dev boxes which failed to create.
DevBoxCreationFailed Count Count ProjectId, ErrorCode PT1M Yes
Successful creations

Count of dev boxes which were created successfully.
DevBoxCreationSucceeded Count Count ProjectId PT1M Yes

Category: Devbox Deallocate

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Successful deallocate

Count of devbox which succeeded to deallocate.
DevBoxDeallocateSucceeded Count Count ProjectId PT1M Yes

Category: DevBox Definition Creations

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Failed creations

Count of failed dev box definitions which can be filtered by error code.
DevBoxDefinitionCreationFailed Count Count ErrorDetails PT1M Yes

Category: Devbox Hibernate

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Failed hibernates

Count of devbox which failed to hibernate.
DevBoxHibernateFailed Count Count ProjectId PT1M Yes
Successful hibernates

Count of devbox which succeeded to hibernate.
DevBoxHibernateSucceeded Count Count ProjectId PT1M Yes

Category: Devbox Start

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Failed starts

Count of devbox which failed to start.
DevBoxStartFailed Count Count ProjectId PT1M Yes
Successful starts

Count of devbox which succeeded to start.
DevBoxStartSucceeded Count Count ProjectId PT1M Yes

Category: Devbox Stop

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Failed stops

Count of devbox which failed to start.
DevBoxStopFailed Count Count ProjectId PT1M Yes
Successful stops

Count of devbox which succeeded to start.
DevBoxStopSucceeded Count Count ProjectId PT1M Yes

Category: DevCenter Creations

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Failed creations

Count of devcenters which failed to create.
DevCenterCreationFailed Count Count ErrorCode PT1M Yes
Successful creations

Count of devcenters which succeeded to create.
DevCenterCreationSucceeded Count Count <none> PT1M Yes

Category: DevCenter Deletions

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Failed deletions

Count of devcenters which failed to delete.
DevCenterDeletionFailed Count Count ErrorCode PT1M Yes
Successful deletions

Count of devcenters which succeeded to delete.
DevCenterDeletionSucceeded Count Count <none> PT1M Yes

Category: DevCenter Updates

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Failed updates

Count of devcenters which failed to update.
DevCenterUpdateFailed Count Count ErrorCode PT1M Yes
Successful updates

Count of devcenters which succeeded to update.
DevCenterUpdateSucceeded Count Count <none> PT1M Yes

Category: Disconnections

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Successful disconnect

Count of devbox disconnections.
DevBoxDisconnect Count Count ProjectId PT1M Yes

Category: NetworkConnection Health Check

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Health Check

Count of NetworkConnection health check.
NetworkConnectionHealthCheck Count Count <none> PT1M Yes

Category: Performance

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Image Validation Duration

Time taken for validating created device images.
ImageValidationDuration Seconds Average, Maximum, Minimum <none> PT1M Yes

Category: Pool Creates or Updates

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Pool create

Count of pools that have been succesffuly created.
PoolCreatedOrUpdated Count Count ProjectId, DevBoxDefinitionName, PoolHibernateEnabled PT1M Yes

Category: Project Creations

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Successful creations

Count of projects that were created successfully.
ProjectCreated Count Count <none> PT1M Yes

Category: Project Deletions

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Successful deletions

Count of projects that were deleted successfully.
ProjectDeleted Count Count <none> PT1M Yes

Category: Schedule Creates or Updates

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Failed creates or updates

Count of schedules which failed to create or update.
ScheduleCreatedOrUpdatedFailed Count Count ErrorCode PT1M Yes
Successful creates or updates

Count of schedules which succeeded to create or update.
ScheduleCreatedOrUpdatedSucceeded Count Count <none> PT1M Yes

Category: Schedule Deletions

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Successful deletion

Count of schedules that were successfully deleted.
ScheduleDeletionSucceeded Count Count <none> PT1M Yes

Next steps