Metrics 4 faster feedback


Published on

Metrics for Faster Feedback

Published in: Spiritual
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Metrics 4 faster feedback

  1. 1. Metrics for Faster Feedback Kris Buytaert @krisbuytaert
  2. 2. Kris Buytaert● I used to be a Dev,● Then Became an Op● Chief Trolling Officer and Open Source Consultant● Everything is an effing DNS Problem● Building Clouds since before the bookstore● Some books, some papers, some blogs● Evangelizing devops
  3. 3. Whats this devops thing anyhow ?
  4. 4. ● Devops is a growing professional and cultural movement● We dont have all the answers yet● We are reaching out to different communities● We will point out problems we see..● Only the name is new While we are still working out the solutions
  5. 5. devops, a definition:
  6. 6. ● Adopt the new philosophy. We are in a new economic age. Western management must awaken to the challenge, must learn their responsibilities, and take on leadership for change.● Cease dependence on inspection to achieve quality. Eliminate the need for massive inspection by building quality into the product in the first place.● Improve constantly and forever the system of production and service, to improve quality and productivity, and thus constantly decrease costs.● Institute training on the job.● Institute leadership The aim of supervision should be to help people and machines and gadgets do a better job.● Drive out fear, so that everyone may work effectively for the company.● Break down barriers between departments. People in research, design, sales, and production must work as a team, in order to foresee problems of production and usage that may be encountered with the product or service.● Eliminate slogans, exhortations, and targets for the work force asking for zero defects and new levels of productivity. Such exhortations only create adversarial relationships, as the bulk of the causes of low quality and low productivity belong to the system and thus lie beyond the power of the work force. ● Eliminate management by objective. Eliminate management by numbers and numerical goals. Instead substitute with leadership. ● Remove barriers that rob the hourly worker of his right to pride of workmanship. The responsibility of supervisors must be changed from sheer numbers to quality. ● Remove barriers that rob people in management and in engineering of their right to pride of workmanship.● Institute a vigorous program of education and self-improvement.● Put everybody in the company to work to accomplish the transformation. The transformation is everybodys job.
  7. 7. William Edwards Deming1986, Out of the Crisis.
  8. 8. C(L)AMS● Culture● (Lean)● Automation● Measurement● Sharing Damon Edwards and John Willis Gene Kim
  9. 9. Culture, automation, Measturement, sharing
  10. 10. Breaking the Silos Getting AlongDevs Ops
  11. 11. Self Service Metrics● Being able to add new metrics● Build your own dashboards● Look at metrics / logs on all platforms● Learn from the platfor
  12. 12. Business ValueMaking Usage Revenue Issues Growth ... Visible
  13. 13. Culture,Automation, Measurement, Sharing
  14. 14. Automate all the things● Build • reproducable builds are undiscussable● Test • testing reduces risk • automate deployments of your test infra● Deploy • Infrastructure as Code • 100% automation • Can you rebuild your infrastructure ?
  15. 15. Culture, Automation, Measurement :measure all the things Sharing
  16. 16. Issues
  17. 17. Source Commits
  18. 18. Build/Test Statistics
  19. 19. Code Analytics
  20. 20. Deploy Statistics ● Time To Deploy ● Deploy Frequency ● Lifecycle frequency ● Map to
  21. 21. Operating System Stats● Memory● Disk● CPU● Per host● Per application
  22. 22. e.g Collectd for system
  23. 23. DB / MiddleWare Stats● Transactions● Queue length● API Calls● Connections● Aborted Connections
  24. 24. Application Metrics● Number of current users● Number of sign ups● Response times● Troughput● XYZ Usage● # restarts● Insert your specific valuable stuff here.
  25. 25. New feature impact● Deploy Metrics as part of the stack● Canary Testing● Silent launches
  26. 26. Availability Metrics
  27. 27. Collect & Ship● One month later • You CAN delete metrics • You CANNOT create metrics● Time Series Database • RRD • Cacti • Ganglia • Graphite● #monitoringlove
  28. 28. Graphite● Graphing at Scale● Graphing at Ease● Any metric is a graph● echo "somestring $somevalue $timestamp" | nc <%= graphitehost %> 2003
  29. 29. Graphite Composer x
  30. 30. Math 101● f(x)● f(x)● f(x)● ... statistics 101
  31. 31. Graphite API
  32. 32. Metrics from Logs● Sensible Log content● Ship logs
  33. 33. Logstash● Not your average centralized logging tool● Elasticsearch backed● Shipper● Indexer● Web
  34. 34. ● Collect from anywhere● Filter● Send anywhere● Queuing support
  35. 35. Logstash in Action
  36. 36. Kibana in Action
  37. 37. Statsd● A network daemon that runs on a zillion platform and listens for statistics, like counters and timers, sent over UDP and sends aggregates to one or more pluggable backend services (e.g., Graphite).
  38. 38. Dashboards
  39. 39. Self Service
  40. 40. Culture, Automation, Measurement,Sharing
  41. 41. Visualize Business Metrics● $revenue● #sales● signups● conversions● Api calls● Application use
  42. 42. ● Open Source● Talk about Experiences● Publish the code● No proprietary software was used in these slides Dont get Locked In !
  43. 43. ContactKris.Buytaert@inuits.euFurther Reading@krisbuytaert Inuits Duboistraat 50 2060 Antwerpen Belgium 891.514.231 +32 475 961221
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.