raintank / legacy-kubernetes-app

Grafana App for Kubernetes
Apache License 2.0
77 stars 12 forks source link

container dashboard should show a single network stat for each pod #34

Open woodsaj opened 7 years ago

woodsaj commented 7 years ago

currently the container dashboards shows network stats (traffic and tcp conns) per container.

However inside of kubernetes all containers in the POD share the network, so if there are multiple containers in a POD they will all report the same values.

change the metric query to this (for "traffic IN"):

groupByNode(perSecond(snap.$cluster.$node.intel.docker.$namespace.$pod.POD.stats.network.*.rx_bytes), 6, 'sum')
toddams commented 6 years ago

Any news on this?