Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Brian Christner
Swisscom Cloud Advocate
August 2015
About Me
> I'm the Swiss Army knife of cloud computing specializing in Linux,
Docker, IaaS, PaaS, or anything with a .io d...
Swisscom Cloud
Enterprise – Service – Application
Enterprise Cloud Service Cloud Application Cloud
Cloud Foundry
Openstack...
4
Swisscom,Folienbibliothek127.08.2015
Docker Monitoring Best Practices
>Label your Containers (key value pair)
--label environment="production"
>Set Resource Li...
6
Swisscom,Folienbibliothek
Docker Stats
STATS DATA:
/sys/fs/cgroup/cpu
* /memory
* /blkio
Usage: docker stats CONTAINER [...
Docker Stats Overview
>Great for Troubleshooting
>Docker Stats API – Build tools that feed
container resource information ...
8
Swisscom,Folienbibliothek
https://github.com/google/cadvisor
https://hub.docker.com/r/google/cadvisor
(Container Advisor...
9
Swisscom,Folienbibliothek
>cAdvisor – Collects, aggregates, processes,
and exports information about running
containers
...
cAdvisor Compose File
> https://github.com/vegasbrianc/docker-monitoring
10
Swisscom,Folienbibliothek127.08.2015
127.08.2015
11
Swisscom,Folienbibliothek
Components
• Prometheus Server
• Data Exporter
• Prometheus Dashboard
• Alerting
Prometheus 12
Swisscom,Folienbibliothek127.08.2015
https://github.com/vegasbrianc/promethe
us
Docker Monitoring Resources
> Great Docker Resource - https://github.com/veggiemonk/awesome-
docker#monitoring
> Prometheu...
Nächste SlideShare
Wird geladen in …5
×

Docker monitoring

813 Aufrufe

Veröffentlicht am

Presentation about Docker Monitoring at Google Developer Group Zürich by Brian Christner, Swisscom.

Veröffentlicht in: Software
  • Als Erste(r) kommentieren

Docker monitoring

  1. 1. Brian Christner Swisscom Cloud Advocate August 2015
  2. 2. About Me > I'm the Swiss Army knife of cloud computing specializing in Linux, Docker, IaaS, PaaS, or anything with a .io domain name > Brianchristner.io > Twitter - @idomyowntricks > Github - vegasbrianc 11.10.2011 2 Swisscom,Folienbibliothek
  3. 3. Swisscom Cloud Enterprise – Service – Application Enterprise Cloud Service Cloud Application Cloud Cloud Foundry Openstack (Elastic)VMware (Dynamic) Hardware / Network Abstraction Hardware / Network 07.10.2015CloudProducts&Technology 3 https://developer.swisscom.co m
  4. 4. 4 Swisscom,Folienbibliothek127.08.2015
  5. 5. Docker Monitoring Best Practices >Label your Containers (key value pair) --label environment="production" >Set Resource Limits >Don’t overlert yourself 5 Swisscom,Folienbibliothek127.08.2015
  6. 6. 6 Swisscom,Folienbibliothek Docker Stats STATS DATA: /sys/fs/cgroup/cpu * /memory * /blkio Usage: docker stats CONTAINER [CONTAINER...] 127.08.2015
  7. 7. Docker Stats Overview >Great for Troubleshooting >Docker Stats API – Build tools that feed container resource information into your existing monitoring solutions >Docker Stats API is the basis all other tools use. 7 Swisscom,Folienbibliothek127.08.2015
  8. 8. 8 Swisscom,Folienbibliothek https://github.com/google/cadvisor https://hub.docker.com/r/google/cadvisor (Container Advisor) 127.08.2015
  9. 9. 9 Swisscom,Folienbibliothek >cAdvisor – Collects, aggregates, processes, and exports information about running containers >InfluxDB – Time Series Data Bases stores all the metrics >Grafana – Metrics Dashboard 127.08.2015
  10. 10. cAdvisor Compose File > https://github.com/vegasbrianc/docker-monitoring 10 Swisscom,Folienbibliothek127.08.2015
  11. 11. 127.08.2015 11 Swisscom,Folienbibliothek Components • Prometheus Server • Data Exporter • Prometheus Dashboard • Alerting
  12. 12. Prometheus 12 Swisscom,Folienbibliothek127.08.2015 https://github.com/vegasbrianc/promethe us
  13. 13. Docker Monitoring Resources > Great Docker Resource - https://github.com/veggiemonk/awesome- docker#monitoring > Prometheues – Prometheus.io > My Docker Projects - https://github.com/vegasbrianc 13 Swisscom,Folienbibliothek127.08.2015

×