-
Notifications
You must be signed in to change notification settings - Fork 36
Insights
Insights is a generic Azure umbrella term that refers to various diagnostic and performance data for your cloud. You may also see this type of information referred to as "Monitor".
You must first register the Microsoft.Insights provider in order to collect insights information, such as metrics or events. Using the Azure CLI you can get a list of providers like so:
az provider show -n Microsoft.Insights
If it is not registered, you can register it using the following command, which may take a few minutes:
az provider register -n Microsoft.Insights
You could use the ResourceProviderService#register
method as well if you want to use the azure-armrest gem, but for one-off commands like this I prefer the CLI.
Not all regions support collecting Insight related information at this time. If you try to collect information in regions that don't support it, you will get an error.