Score:0

How to monitor docker container network usage with Prometheus?

us flag

I would like to monitor container level metrics for network usage, these are displayed by docker stats but not exposed by the native Docker Prometheus exporter (https://docs.docker.com/config/daemon/prometheus/), Node_Exporter (https://github.com/prometheus/node_exporter) or cAdvisor (https://github.com/google/cadvisor).

cAdvisor provides a metric output that I thought did this, but on closer examination it seems to provide an aggregate from all containers and is no use for my needs.

At the moment the only solution I can come up with is to have a cron job pull the metrics from Docker and write them to a file that node_exporter can then pickup, but I feel there must be a better way?!

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.