Azure / Azure/AzureMonitorStarterPacks

Improvement recommendation: AMSP-Win-VMI-CPUUsageOverPercentcritical

Open
#25 0 comments 0 reactions 1 assignee Claimed by @josefehse View on GitHub
Dominant language
Bicep
Stars
65
Forks
31
Avg merge
3d 11h
Merged PRs (30d)
1

Description

Currently, the threshold is hard coded into the query, and the query doesn't look at sustained utilisation over time, so can be very noisy. Recommend the following changes:

Query:
InsightsMetrics
| where Namespace == 'Processor'
and Name == 'UtilizationPercentage'
and Origin == "vm.azm.ms"
| extend Computer=tostring(todynamic(Tags)["vm.azm.ms/computer"])
| summarize AggregatedValue = avg(Val) by bin(TimeGenerated, 15m), _ResourceId

Settings:
Measure = AggregatedValue
AggregationType = Average

Alert Logic
Operator: Greater than
Threshold value = 95

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.