azure-monitor-datasource
azure-monitor-datasource copied to clipboard
Query Templating with Variables for the Azure Monitor Service
Is it possible to query for resources without specifying the resource group? It doesn't seem to work for me. Is there a workaround, or something similar that I could implement? I would like to have a list of my app service plans which I can then use in a Log Analytics query and then generate panels for each app service plan in a dashboard - dynamically.
I do not want the query to be limited for a resource to a resource group. Is it possible to query multiple resource groups and get (for example), all of the app service plans that I have in my different resource groups?
Something like this: ResourceNames(aNamespace)
This is where I was looking for the solution, but could not find what I was looking for. https://grafana.com/docs/features/datasources/azuremonitor/#templating-with-variables-for-the-azure-monitor-service
+1 for this.
I'm trying to look at failed request across multiple app insights instances all in different resource groups.. something that should be relatively easy.
For example
https://management.azure.com/subscriptions/xxxxxx/resources?$filter=resourceType EQ 'Microsoft.Insights/components'&api-version=2018-05-01
I am going to bump heads with @ewannoble and see if we have a crack at implementing something
WIP here ->
https://github.com/chelnak/azure-monitor-datasource/commit/e18b1b3f522a7d7d6374905ccbde8c7962776609