The Azure Server System counter allows SQL Diagnostic Manager to monitor counters that are collected using API, which are is supplied by Azure.
After you select the Azure Server System Counter type when adding a Custom Counter, you need to provide some configuration details of your Azure server:
- Select a server from the drop-down list of the Azure Server option.
- Select a profile from the drop-down list of the Azure Profile option.
- Select a type from the drop-down list of the Resource Type option.
- And, select a name from the drop-down list of the Resource Name option.
The 'Monitor ManagementClient.Metrics' library collects data for the Azure Custom Counters. It takes input parameters like metric name and interval and returns values for the metrics in that particular interval. However, based on the Azure instance activity at that interval, the returned value of the metric is null when those values are zero or nonexistentinexistent.