Monitoramento de Containers

José Barbosa
Aug 24, 2016 · 3 min read

Monitorando containers

1. Docker Stats — A base de tudo

$ docker stats
docker stats

2. cAdvisor — A solução simples

O cAdvisor é usado pelo Google para monitorar containers
$ sudo docker run \
--volume=/:/rootfs:ro \
--volume=/var/run:/var/run:rw \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--publish=8080:8080 \
--detach=true \
--name=cadvisor \
google/cadvisor:latest

3- cAdvisor + InfluxDB + Grafana — O combo bem elaborado

Um dashboard de monitoramento visualizado no Grafana
Slides da palestra.
Gravação da palestra, minha palestra começa aos 2h47m.
José Barbosa

Written by

Full stack developer that believe in the agile principles at @lambdatres. I tweet about software development, agile, space, productivity and other stuff.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade