How to Monitor a Media Services Account
This article is part of the Media Services Video on Demand workflow and Media Services Live Streaming workflow series.
The Azure Media Services dashboard presents usage metrics and account information that you can use to manage your Media Services account.
You can monitor the number of queued encoding jobs, failed encoding tasks, active encoding jobs represented by the input and output data from the encoder, as well as the blob storage usage associated with your Media Services account. In addition, if you are streaming content to customers, you can retrieve various streaming metrics as well. You can choose to monitor your data for the last 6 hours, 24 hours or 7 days.
Additional costs are associated with monitoring storage data in the Azure Management Portal. For more information, see Storage Analytics and Billing.
How to: Monitoring a Media Services account
In the Management Portal, click Media Services, and then click the Media Services account name to open the dashboard.
To monitor your encoding jobs or data, simply begin submitting encoding jobs to Media Services, or start streaming content to customers through the use of Azure Media On-Demand Streaming. You should start seeing monitoring data on the dashboard after about an hour.
How to: Monitoring your blob storage usage (Optional)
- Click the STORAGE ACCOUNT name under the quick glance section.
On the storage account page, click the configure page link, and scroll down to the monitoring settings for the Blob, Table, and Queue services, shown below.
Blobs are the only supported storage type in Media Services.
In monitoring, set the level of monitoring and the data retention policy for Blobs:
To set the monitoring level, select one of the following:
Minimal - Collects metrics such as ingress/egress, availability, latency, and success percentages, which are aggregated for the Blob, Table, and Queue services.
Verbose - In addition to the minimal metrics, collects the same set of metrics for each storage operation in the Azure Storage Service API. Verbose metrics enable closer analysis of issues that occur during application operations.
Off - Turns off monitoring. Existing monitoring data is persisted through the end of the retention period.
To set the data retention policy, in Retention (in days), type the number of days of data to retain from 1 to 365 days. If you do not want to set a retention policy, enter zero. If there is no retention policy, it is up to you to delete the monitoring data. We recommend setting a retention policy based on how long you want to retain storage analytics data for your account so that old and unused analytics data can be deleted by the system at no cost.
When you finish the monitoring configuration, click Save. Similar to Media Services metrics, you should start seeing monitoring data on the dashboard after about an hour. Metrics are stored in the storage account in four tables named $MetricsTransactionsBlob, $MetricsTransactionsTable, $MetricsTransactionsQueue, and $MetricsCapacityBlob. For more information, see Storage Analytics Metrics.