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.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- azure, kubernetes
- Domain
- cloud, observability-sre
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.
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
- Dominant language
- PowerShell
- Stars
- 1.2k
- Forks
- 493
- PR merge metrics
- No merged PRs in 30d
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.
More from microsoft/AzureMonitorCommunity
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 10/100
All issues in microsoft/AzureMonitorCommunity
Similar issues
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Openbug ecr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
hashicorp/go-azure-helpers#286 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
palladius/rails8-app-on-gcp#141 · 1 comment ·