microsoft / microsoft/AzureMonitorCommunity
How to get the Node Level CPU and Memory Metrics of each pod using KQL Query in Log Analytics Workspace?
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.2k
- Forks
- 493
- PR merge metrics
- No merged PRs in 30d
Description
I have tried below kql queries but its not giving the CPU and Memory Metrics of the node described along with the pod details.a
ContainerInventory
| where Computer contains "aks-nodepool1-pvmss000002"
Perf
| where Computer contains "aks-agentpool-vmss000003"
KubeNodeInventory
| where Computer contains "aks-agentpool-vmss000003"
InsightsMetrics
| where Computer contains "aks-agentpool-vmss000003"
but do we have the kubectl queries to get the CPU and Memory Metrics of each nodes- kubectl describe node aks-agentpool-vmss000003
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the listed ContainerInventory, Perf, KubeNodeInventory, and InsightsMetrics tables, along with the AKS node command shown in the issue. Determine which source exposes node CPU and memory alongside pod details, then document a working query and confirm that it returns metrics for the named nodes and their pods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, kubernetes
- Domain
- cloud, observability-sre
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100