There is a command group 'az_monitor_data collection_rule_performance counter'. This group of commands could 'manage log performance counter data source'. The group of commands has global parameter '--debug' which means 'Increase logging verbosity to show all debug logs.'. The group of commands has global parameter '--help -h' which means 'Show this help message and exit.'. The group of commands has global parameter '--only-show-errors' which means 'Only show errors, suppressing warnings.'. The group of commands has global parameter '--output -o' which means 'Output format.'. The group of commands has global parameter '--query' which means 'JMESPath query string. See <a href="http://jmespath.org/">http://jmespath.org/</a> for more information and examples.'. The group of commands has global parameter '--subscription' which means 'Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.'. The group of commands has global parameter '--verbose' which means 'Increase logging verbosity. Use --debug for full debug logs.'. This group contains a child command 'az_monitor_data collection_rule_performance counter_add'.The syntax is: az monitor data-collection rule performance-counter add --counter-specifiers
                                                        --name
                                                        --resource-group
                                                        --rule-name
                                                        --sampling-frequency
                                                        --streams {microsoft-insightsmetrics, microsoft-perf}. The 1th example of the child command would be to use it to 'add a log performance counter data source', the syntax is: az monitor data-collection rule performance-counter add --rule-name "myCollectionRule" --resource-group "myResourceGroup" --name "team2ExtraCounters" --streams "Microsoft-Perf" --counter-specifiers "\\Process(_Total)\\Thread Count" "\\LogicalDisk(_Total)\\Free Megabytes" --sampling-frequency 30. The parameter '--counter-specifiers' is required. It is used to a list of specifier names of the performance counters you want to collect.use a wildcard (*) to collect a counter for all instances. to get a list of performance counters on windows, run the command 'typeperf'.. The parameter '--name -n' is required. It is used to a friendly name for the data source. this name should be unique across all data sources (regardless of type) within the data collection rule.. The parameter '--resource-group -g' is required. It is used to name of resource group. you can configure the default group using `az configure --defaults group=<name>`.. The parameter '--rule-name' is required. It is used to the name of the data collection rule. the name is case insensitive.. The parameter '--sampling-frequency' is required. It is used to the number of seconds between consecutive counter measurements (samples).. The parameter '--streams' is required. It is used to list of streams that this data source will be sent to. a stream indicates what schema will be used for this data and usually what table in log analytics the data will be sent to.. 