Home Gitesh Portfolio Blog About Me Gallery Contact

Sitecore AKS hosted - AKS Log Insights on CPU Usage

If you have a site hosted on AKS and want to look at the CPU usage for each pods than this is a good way to find it out.
let podName = "xp-cd";
Perf
| where CounterName == "memoryRssBytes"
| where split(InstanceName, "/")[-1] == podName
| where Computer == "akswin000002"
| project TimeGenerated, Computer, ["CPU Cores"]=(CounterValue/1000000000), ["Memory Usage (GB)"] = CounterValue / 1000000000


Keywords: Sitecore AKS, Sitecore containers
Posted: 27/02/2024 2:31:08 a.m. by Gitesh Shah | with 0 comments