Advertisement
Advertisement

More Related Content

Slideshows for you(20)

Similar to Monitoring mayhem - Using Prometheus(20)

Advertisement
Advertisement

Monitoring mayhem - Using Prometheus

  1. Brian Christner 21 September 2016
  2. Agenda • Introduction • Monitoring Overview • Monitoring Components • Demo 2
  3. Brian Christner Brian.Christner@swisscom.com / @idomyowntricks > Swisscom Cloud Architect > Docker Captain > Background in Containers, Cloud, & Engineering About me
  4. Swisscom Developer Portal Home for innovators and passionate developers developer.swisscom.com @Swisscom_Dev
  5. Monitoring Overview
  6. Monitoring & Docker Swarm Overview Did someone say Monitoring?
  7. Monitoring Best Practices • Label your Containers (key value pair) • --label environment="production" • Set Resource Limits • Don’t overlert yourself
  8. Long vs Short Lived Containers Long Lived Short Lived
  9. Monitoring Components
  10. What were building https://github.com/vegasbrianc/prometheus
  11. 13 https://github.com/google/cadvisor https://hub.docker.com/r/google/cadvisor (Container Advisor)
  12. Prometheus Node Exporter https://github.com/r/prom/node-exporter • Machine Metrics • Pluggable Metrics
  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. MacBook Swarm Internal Network Routing Prometheus MGR Node01 cAdvisor My App cAdvisor My App Node02 cAdvisor My App Grafana Alert Manager Promtheus Stack
  15. Compose File
  16. Let’s have a look: DEMO
  17. Great Docker Resource – http://veggiemonk.github.io/awesome-docker/ My Docker Projects - https://github.com/vegasbrianc Docker Resources
  18. Questions?
Advertisement