How to monitor network i/o of pods with Azure Monitor for containers

11/19/2020

I have deployed a few apps in Azure Kubernetes Service(AKS) and I need to monitor CPU usage, memory consumption, and network io(received bytes, sent bytes) of each deployed app.

I was able to find CPU and memory usage stats in the Perf table (log analytics workspace) with counter names cpuUsageNanoCores and memoryWorkingSetBytes respectively. So that I was able to monitor each pod's resource consumption.

However, I am unable to find any network stat belongs to pods in AKS even though azure agents are recording those metrics as documented in here. Furthermore, I can see network metrics for k8s nodes (only for nodes) are available in InsightsMetrics table.

What I want to know is, does the Azure log analytics provides network monitoring at the Pod level? If so are there any documents that I can refer to to retrieve those network metrics?

-- Madusha
azure
azure-aks
azure-log-analytics
azure-monitoring
kubernetes

1 Answer

3/9/2021

You may use Azure Network Policy Manager aka NPM to monitor your network. Here is a link to the documentation.

For more pod metrics, you may check cAdvisor or dynatrace

-- Helay
Source: StackOverflow