mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-04 23:59:08 +00:00
Update LAB_11-Implement_Monitoring.md
This commit is contained in:
parent
d14bc44534
commit
952d3ee47d
@ -227,17 +227,15 @@ In this task, you will use Azure Monitor to query the data captured from the vir
|
||||
|
||||
1. Replace the query with this one, and then click **Run**. Review the resulting chart.
|
||||
|
||||
```bash
|
||||
// Virtual Machine available memory
|
||||
// Chart the VM's available memory over the last hour
|
||||
InsightsMetrics
|
||||
| where TimeGenerated > ago(1h)
|
||||
| where Name == "AvailableMB"
|
||||
| project TimeGenerated, Name, Value
|
||||
| render timechart
|
||||
```
|
||||
InsightsMetrics
|
||||
| where TimeGenerated > ago(1h)
|
||||
| where Name == "UtilizationPercentage"
|
||||
| summarize avg(Val) by bin(TimeGenerated, 5m), Computer //split up by computer
|
||||
| render timechart
|
||||
```
|
||||
|
||||
1. As you have time, review and run other queries.
|
||||
1. As you have time, review and run other queries. If you aren't getting any results, consider using the [Log Analytics Demo Environment](https://learn.microsoft.com/azure/azure-monitor/logs/log-analytics-tutorial#open-log-analytics).
|
||||
|
||||
>**Did you know?**: Once you find a query you like, you can create an alert from it.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user