Learn how to use Azure Portal to monitor apps, gather insights, and receive other feedback data.
- [Instructor] You can easily monitor your apps through the Azure portal. But before we get into the actual apps I want to show you where you can find the quotas. As you can see we're looking at MyWebApp, if I scroll down under the App Service Plan I want to pull up Quotas. And this is important to keep an eye on because if you max out your quota, your app will stop responding and at that point you'll have to figure out what's going on with the app or do you need to move up a tier? As you can see here we can see the File System Usage for the app and then the File System Usage for the app service plan.
Now my numbers are really low because I'm only doing this for demo but in the real world, you'd probably see a little bit more activity here. And again when you start getting into that red zone, you may want to start looking at is there an issue going on with the app? Or do you not just have enough resources for that app? If that's the case you'll have to move up a tier. As I scroll back down, scroll all the way down into Monitoring, you'll see that we already have some metrics already pre configured for you. We have a Metrics per Instance for our apps.
And you can see, you can click through these and pull off some basic information. And then we have our Metrics per Instance for our apps service plan. This will provide information about all the apps within the plan. Again, I only have a couple here for demonstration purposes I don't have a lot of data. But as you can see you have your CPU and your Memory stats, your HTTP stats and some network stats. You also have your live HTTP traffic, nothing really fancy here, and then Application events.
There we go. And here I can see I've had a couple of errors and this is when I was attaching some remote debuggers. I have an information error on a .NET runtime. And then finally I have the FREB logs, those are not configured so I won't even bother clicking on it. Where it does get interesting is under Application Insights. We don't have a lot of information off of our first page, you can see if you look really closely you'll see some information happening here but because my app really isn't doing anything we don't see any data.
So scroll down and we can view more in Application Insights. Here we see a little bit more data. We have our server response time, we have our page load, view requests and failed requests. Not sure why I'm getting five failed requests on an app that's really not doing much. And then at the bottom we have total of server requests by request performance.
Next we can click in the Metrics Explorer. We can actually configure the metrics to meet our needs. You'll notice here that I already have three, if you want to edit any of these you just go ahead and click Edit. And I'm going to uncheck some of these. And then let's say I wanted to go ahead and check one. If I click on Events you'll notice that only other metrics become available to me.
And again I can click in further and again depending on the usage will dictate what other options are available to you. So here we can see that we have some events and a trace count. I can go ahead and close that. And you can modify these to best meet your needs. I'm going to close this blade one more time and then finally the live stream. This is a little bit of what we saw in that very first page that was really hard to see. But again, because my app really isn't doing anything we're not pulling off any data here.
But if you had live data this would be a great way to see those incoming requests, the outgoing requests and the overall health for that app in a very simple dashboard. As you can see, the Azure portal provides a couple great dashboards in order for you to monitor your application and your app service plan health.
- Deploying Web Apps
- Creating App Service plans
- Deploying and moving apps
- Configuring app settings
- Managing Web Apps using PowerShell and CLI
- Configuring alerts
- Enabling diagnostic logs
- Retrieving and streaming logs
- Configuring Web Apps for scale and resilience