- Challenge 2 - Run the App should be done successfully.
We've got our app running, but how do we know how well it's performing? Let's instrument Application Insights
so you can see what's happening inside the app.
- You'll find the app is already wired up for Application Insights, you just need to populate app settings configuration with your own Application Insights key. Once you have the key, start using the app to see metrics.
- Make sure you got some data in Application Insights while running your application in both places locally (Azure Cloud Shell) and in Azure App Service. Make sure you are leveraging the proper way for both to set the
InstrumentationKey
(i.e. in docker-compose.yaml file for local and in Azure App Service's AppSettings). - Build a dashboard in the Azure Portal for viewing performance of the app.
- In Azure DevOps (Boards), from the Boards view, you could now drag and drop the user story associated to this Challenge to the
Resolved
orClosed
column, congrats! ;)
- Game Duration is a Custom Metric, you should see it populate in the Visualization builder after you run a game.
Too comfortable? Eager to do more? Try this:
- Find places throughout the application to track more telemetry.
- Create an alert based on App Insights telemetry.
- Generate an Application Map