0
votes

Using azure portal's application insights' menu, a user can assemble data and pin it to the Azure portal Dashboard like so: Metrics(preview) - pin to dashboard

I am tasked with creating many of these dashboards in multiple environments, and would rather write some kind of script once instead of manually doing this multiple times.

Is there anyway to automate this process?

1

1 Answers

0
votes

If it's the same data shared in multiple environments then you could create and share a dashboard. If it's different data in each environment. Then your best bet may be to use some browser automation software like Selenium. You can set it up to create and pin the dashboard part and then run it in the different environments. Keep in mind, that while the script you write with Selenium may work when you write it, it can possibly break in the future if the HTML of the page changes.