Do you know the performance of your containers or Docker Hosts? I will show you how to get up and running quickly with 2 different Open Source Docker Monitoring solutions. We will quickly cover Docker Stats as the basis and discover how Google cAdvisor gathers metrics for our 2 solutions. We will then build upon this basis to build a Docker Monitoring solution with cAdvisor+InfluxDB+Grafana and then cAdvisor+Prometheus and create dashboards based on the gathered monitoring metrics with Grafna and Prometheus.
4. 4
Swiss Army knife of cloud computing specializing in
Linux, Docker, IaaS, PaaS, or anything with a .io domain
name
Cloud & Docker Advocate @ Swisscom
Docker User for 1.5 Years
About Me
5. 5
Swisscom
Cloud & Data Center solutions
Reliable. Flexible. Ecological.
As much infrastructure as you need – in your data
processing center or ours.
Comprehensive, customised architectures for enhanced
agility and lower costs. And of course we provide your
company data with effective protection. At all times.
55
Most up-to-date
data processing
centres in CH
PUE* = 1.2
*Power usage effectiveness
Business becomes
innovation driver
11,500
customer
servers
13 PB
managed storage
100%
renewable energy
Top
security
standards
6. Chocolate
Most Nobel prize
winners on population
Source: New England Journal of Medicine, Nobel price,
fotolia
8.9kg (19.6lbs) consumption
per person/Year
7. Monte Rose, 4642m / 15,203 ft
Swiss
Innovation
Global Innovation Index leader
for the fifth year in a row
Data privacy and security as
solid as our alp massif
Source: Global Innovation Index,
geeksta.net (countries over 100k p)
Top 3 in github commits per
capita
9. Docker @ Swisscom
Partnered with ClusterHQ (Flocker) to build a persistent Database-as-
a-Service based on Docker and Cloud Foundry
Several Docker offerings
Docker is in use across Swisscom from Application Cloud to TV
Future projects include Docker-as-a-Service and several as-a-Service
projects based on Docker
10. Benefits of Docker
Higher density of applications per server / Cost reduction
Decrease Time to Market for developers
Increasing compatability with current software
One size fits all
13. Future Projects
Next version of our Application Cloud will have Docker integration Q1
2016
Integrating existing Apps & Platforms into Docker
Launching Docker as a Service
16. Docker Monitoring Best Practices
16
Label your Containers (key value pair)
--label environment="production"
Set Resource Limits
Don’t overlert yourself
18. Docker Stats Overview
18
Great for Troubleshooting
Docker Stats API is the basis all other tools use
Docker Stats API – Build tools that feed container resource
information into your existing monitoring solutions
22. 22
cAdvisor – Collects, aggregates, processes, and exports
information about running containers
InfluxDB – Time Series Database stores all the metrics
Grafana – Metrics Dashboard