Enable deploying shared queries via ARM
We have multiple application insights instances (test, acc, prod) and want to configure them as Infrastructure as Code using ARM templates. It seems to be possible to add alerts to the templates, however I'm not able to add our share queries from our insights analytics to an ARM template. To be able to redeploy and keep track of our queries we want be able to add the developed queries in our ARM templates and deploy them as IAC.
Save queries and shared saved queries support in ARM template is now planned.
This should enable programmatic update of saved queries.
Simpson, Daniel commented
Considering the fact that we can't use comments or multi-line ARM templates, this is incredibly important to keep dashboard reports easily readable and understandable.
Will be a huge productivity boost if and when we get this!
Rob Jellinghaus commented
Our team desperately wants this as well -- we have a lot of reporting we do on our dashboard, and we want to be able to deploy and code review our dashboard, with all its queries. Please implement this, if possible in a way that enables code review of changes to queries in checked-in ARM templates.