Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Loading in …3
×
1 of 20

More Related Content

You Might Also Like

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Monitoring mayhem - Using Prometheus

  1. 1. Brian Christner 21 September 2016
  2. 2. Agenda • Introduction • Monitoring Overview • Monitoring Components • Demo 2
  3. 3. Brian Christner Brian.Christner@swisscom.com / @idomyowntricks > Swisscom Cloud Architect > Docker Captain > Background in Containers, Cloud, & Engineering About me
  4. 4. Swisscom Developer Portal Home for innovators and passionate developers developer.swisscom.com @Swisscom_Dev
  5. 5. Monitoring Overview
  6. 6. Monitoring & Docker Swarm Overview Did someone say Monitoring?
  7. 7. Monitoring Best Practices • Label your Containers (key value pair) • --label environment="production" • Set Resource Limits • Don’t overlert yourself
  8. 8. Long vs Short Lived Containers Long Lived Short Lived
  9. 9. Monitoring Components
  10. 10. What were building https://github.com/vegasbrianc/prometheus
  11. 11. 13 https://github.com/google/cadvisor https://hub.docker.com/r/google/cadvisor (Container Advisor)
  12. 12. Prometheus Node Exporter https://github.com/r/prom/node-exporter • Machine Metrics • Pluggable Metrics
  13. 13. Prometheus Integrations Official 3rd Party Exporters • Blackbox • CollectD • Consul • Graphite • HAProxy • InfluxDB • JMX • MEMcached • Mesos • MySQL • SNMP • StatsD Official Client Libraries • GO • Java or Scala • Python • Ruby Un-Official Client Libraries • Bash • Lisp • Elixr • Erlang • Haskell • Nua (NGINX) • .NET / C# • Node.js • PHP Directly Instrumented Software • cAdvisor • Node Ecporter • Doorman • Etcd • Kubernetes-Mesos • Kubernetes • RobustIRC • SkyDNS • Weave Flux
  14. 14. MacBook Swarm Internal Network Routing Prometheus MGR Node01 cAdvisor My App cAdvisor My App Node02 cAdvisor My App Grafana Alert Manager Promtheus Stack
  15. 15. Compose File
  16. 16. Let’s have a look: DEMO
  17. 17. Great Docker Resource – http://veggiemonk.github.io/awesome-docker/ My Docker Projects - https://github.com/vegasbrianc Docker Resources
  18. 18. Questions?

×