Upgrade to Pro — share decks privately, control downloads, hide ads and more …

It's not in production unless it's monitored.

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

It's not in production unless it's monitored.

Talk given at RailsConf 2012

In the 21st century successful teams are data-driven. We’ll present a complete introduction to everything you need to start monitoring your service at every level from business drivers to per-request metrics in Rails/Rack, down to server memory/cpu. Provides a high-level overview of the fundamental components that comprise a holistic monitoring system and then drills into real-world examples with tools like ActiveSupport::Notifications, statsd/rack-statsd, and CollectD. Also covers best practices for active alerting on custom monitoring data.

Joseph Ruscio

April 25, 2012

Transcript

43 slides
  1. SaaS 2002 ‣ Seed Round: $1.5M USD ‣ Infrastructure: CAPEX

    ‣ Dedicated Ops Team ‣ Custom Software Stack Wednesday, April 25, 2012
  2. SaaS 2012 ‣ Seed Round: $20K USD ‣ Infrastructure: OPEX

    ‣ <=1 Ops Person ‣ OSS, External Services Wednesday, April 25, 2012
  3. ‣ continuous integration ‣ one-click deploy ‣ feature-flagging ‣ monitoring

    ‣ alerting Cont. Deployment Wednesday, April 25, 2012
  4. Anti-Pattern • Custom Stats • MySQL threads • VMstat •

    .... Storage • CPU • Interface • Memory • Ping • Battery charge • .... Storage • Ping • CPU • Memory • Disks • SNMP Service • .... Storage ... Nagios Ganglia RRD/Cacti Wednesday, April 25, 2012
  5. SaaS ‣ Librato Metrics et al. ‣ JSON over HTTP

    ‣ rollups ‣ interactive front-ends Wednesday, April 25, 2012
  6. Tuning Alerts ‣ trigger threshold ‣ cancel threshold ‣ re-arm

    window ‣ function ‣ window Wednesday, April 25, 2012
  7. ‣ separation of concerns ‣ monitoring == tests ‣ arbitrary

    correlations ‣ dashboards ‣ living alerts Wednesday, April 25, 2012

More Decks by Joseph Ruscio

Other Decks in Programming