Supported metrics for Microsoft.Media/mediaservices

The following table lists the metrics available for the Microsoft.Media/mediaservices 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 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.Media/mediaservices

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Asset count

How many assets are already created in current media service account
AssetCount Count Average <none> PT1H, PT6H, PT12H, P1D Yes
Asset quota

How many assets are allowed for current media service account
AssetQuota Count Average <none> PT1H, PT6H, PT12H, P1D Yes
Asset quota used percentage

Asset used percentage in current media service account
AssetQuotaUsedPercentage Percent Average <none> PT1H, PT6H, PT12H, P1D Yes
Live event count

The total number of live events in the current media services account
ChannelsAndLiveEventsCount Count Average <none> PT1M Yes
Content Key Policy count

How many content key policies are already created in current media service account
ContentKeyPolicyCount Count Average <none> PT1H, PT6H, PT12H, P1D Yes
Content Key Policy quota

How many content key polices are allowed for current media service account
ContentKeyPolicyQuota Count Average <none> PT1H, PT6H, PT12H, P1D Yes
Content Key Policy quota used percentage

Content Key Policy used percentage in current media service account
ContentKeyPolicyQuotaUsedPercentage Percent Average <none> PT1H, PT6H, PT12H, P1D Yes
Job quota

The Job quota for the current media service account.
JobQuota Count Average <none> PT1H, PT6H, PT12H, P1D Yes
Jobs Scheduled

The number of Jobs in the Scheduled state. Counts on this metric only reflect jobs submitted through the v3 API. Jobs submitted through the v2 (Legacy) API are not counted.
JobsScheduled Count Average, Maximum, Minimum <none> PT1M Yes
Key request time

The key delivery request status and latency in milliseconds for the current Media Service account.
KeyDeliveryRequests Count Average, Count KeyType, HttpStatusCode PT1H, PT6H, PT12H, P1D No
Max live event quota

The maximum number of live events allowed in the current media services account
MaxChannelsAndLiveEventsCount Count Average <none> PT1M Yes
Max running live event quota

The maximum number of running live events allowed in the current media services account
MaxRunningChannelsAndLiveEventsCount Count Average <none> PT1M Yes
Running live event count

The total number of running live events in the current media services account
RunningChannelsAndLiveEventsCount Count Average <none> PT1M Yes
Streaming Policy count

How many streaming policies are already created in current media service account
StreamingPolicyCount Count Average <none> PT1H, PT6H, PT12H, P1D Yes
Streaming Policy quota

How many streaming policies are allowed for current media service account
StreamingPolicyQuota Count Average <none> PT1H, PT6H, PT12H, P1D Yes
Streaming Policy quota used percentage

Streaming Policy used percentage in current media service account
StreamingPolicyQuotaUsedPercentage Percent Average <none> PT1H, PT6H, PT12H, P1D Yes
Transform quota

The Transform quota for the current media service account.
TransformQuota Count Average <none> PT1H, PT6H, PT12H, P1D Yes