mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-06 08:39: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.
|
1. Replace the query with this one, and then click **Run**. Review the resulting chart.
|
||||||
|
|
||||||
```bash
|
```
|
||||||
// Virtual Machine available memory
|
InsightsMetrics
|
||||||
// Chart the VM's available memory over the last hour
|
| where TimeGenerated > ago(1h)
|
||||||
InsightsMetrics
|
| where Name == "UtilizationPercentage"
|
||||||
| where TimeGenerated > ago(1h)
|
| summarize avg(Val) by bin(TimeGenerated, 5m), Computer //split up by computer
|
||||||
| where Name == "AvailableMB"
|
| render timechart
|
||||||
| project TimeGenerated, Name, Value
|
|
||||||
| 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.
|
>**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