SLEEP BETTER BY
AUTOMATING
MONITORING FOR YOUR
APP
Juan Basso - @jrbasso
System Architect - Zumba Fitness
I AM NOT...
Being paid by any company
Associated of any company
Getting any kind of benefit
Professional Talker :D
TYPES OF MONITORING
Server Application (Your CakePHP App!)
Client Side (JavaScript, Timing, Content, Privileges)
System Mo...
SERVER APPLICATION
What is happening with your CakePHP app?
Is your app running?
Is your cron apps running as planned?
Why...
NEW RELIC
Site:
PHP Extension + SaaS
Focused on the Application
Good PHP Integration
Show Slow Queries
Show Slow Transacti...
APPDYNAMICS
Site:
SaaS
Focused on Network
Show Slow Queries
Show Slow Transactions
Request Trace Detail
NOT CakePHP Friend...
ZEND SERVER
Site:
Web Server with Monitoring
Store Full Request Detail
Request Trace Detail
All-in-one
http://www.zend.com...
APM
Site:
Extension, Free, Poor Documentation
Hard to Install
http://pecl.php.net/package/APM
CLIENT SIDE
Can the users hit my pages?
How many users are using my site?
What is the page load time? Is it usable?
Is the...
NEW RELIC (CLIENT SIDE)
Page Load Time
Health Check
Corelate User and Server Requests
APPDYNAMICS (CLIENT SIDE)
Page Load Time
Health Check
Corelate User and Server Requests
JavaScript Errors
QBAKA
Site: https://qbaka.com
SaaS
Javascript Error Reporting
Require Some JS on the Page
REAL TIME VISITORS
Google Analytics ( )
Pingdom ( )
Gauges ( )
https://www.google.com/analytics
https://www.pingdom.com
ht...
SYSTEM MONITORING
My app is down! Why?!?! I didn't change the code!
I can connect to the service, but why the app doesn't ...
SCOUT
Site:
SaaS
Lots of Charts
Based on Plugins
Ruby Friendly
Alerts by E-mail, SMS, PagerDuty, Web Hooks
https://scoutap...
SERVER DENSITY
Site:
SaaS
Cloud, Server and Site Monitoring
Responsive Interface
Alerts by E-mail, SMS, Push Notifications...
BOUNDARY
Site:
SaaS
Linux Kernel Module
Deep Network Monitoring
Proactive Alerting (Cristal Ball)
http://boundary.com/
NAGIOS
Site:
The Classic! The Legend!
You Have to Manage
Tons of Checkers
Hard To Setup
Ugly Interface
http://www.nagios.o...
LOGS
What is wrong with my server?
Is my code/server crashing?
How to find an error in a pile of logs?
LOGGLY
Site:
SaaS
Combine All Logs
Real-Time
http://loggly.com/
PAPERTRAIL
Site:
SaaS
Combine All Logs
Real-Time
https://papertrailapp.com/
SPLUNK / SPLUNKSTORM
Site:
Standalone and SaaS
Combine All Logs
Real-Time
Create Filters and Analyzers
http://splunkstorm....
LOGSTASH + KIBANA 3
Site: and
You Have to Host It
Very Easy to Customize (Custom Dashboards)
Create Filters and Analyzers
...
METRICS
How is your audience? Increased a lot? Decreased a lot?
How is your revenue?
Can users from all locations access y...
LIBRATO
Site:
SaaS
Generate Custom Graphs
https://metrics.librato.com/
STATSD + GRAPHITE
Site:
Open Source from Etsy (Node.js)
Lightweight
https://github.com/etsy/statsd/
SOME METRICS TYPES
Analyzing Logs Quantity
Analyzing Access
Analyzing User Region (country, state)
Analyzing Languages
Ana...
REVIEW - TYPES
Server Application
Client Side
System Monitoring
Logs
Metrics
QUESTIONS?
THANKS
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Sleep better by automating monitoring for your app (CakeFest 2013)
Upcoming SlideShare
Loading in …5
×

Sleep better by automating monitoring for your app (CakeFest 2013)

3,639 views

Published on

Published in: Technology, Design
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,639
On SlideShare
0
From Embeds
0
Number of Embeds
82
Actions
Shares
0
Downloads
20
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Sleep better by automating monitoring for your app (CakeFest 2013)

  1. 1. SLEEP BETTER BY AUTOMATING MONITORING FOR YOUR APP Juan Basso - @jrbasso System Architect - Zumba Fitness
  2. 2. I AM NOT... Being paid by any company Associated of any company Getting any kind of benefit Professional Talker :D
  3. 3. TYPES OF MONITORING Server Application (Your CakePHP App!) Client Side (JavaScript, Timing, Content, Privileges) System Monitoring (CPU, Memory, Network) Logs (What is Going On) Metrics (Listen to the Numbers)
  4. 4. SERVER APPLICATION What is happening with your CakePHP app? Is your app running? Is your cron apps running as planned? Why are my requests slow in production? Works fine on my local!
  5. 5. NEW RELIC Site: PHP Extension + SaaS Focused on the Application Good PHP Integration Show Slow Queries Show Slow Transactions Request Trace Detail CakePHP Friendly SLA Reports http://www.newrelic.com
  6. 6. APPDYNAMICS Site: SaaS Focused on Network Show Slow Queries Show Slow Transactions Request Trace Detail NOT CakePHP Friendly http://www.appdynamics.com/
  7. 7. ZEND SERVER Site: Web Server with Monitoring Store Full Request Detail Request Trace Detail All-in-one http://www.zend.com/en/products/server/
  8. 8. APM Site: Extension, Free, Poor Documentation Hard to Install http://pecl.php.net/package/APM
  9. 9. CLIENT SIDE Can the users hit my pages? How many users are using my site? What is the page load time? Is it usable? Is the user having issues with his browser? Some users complain about some page, but works on my local!
  10. 10. NEW RELIC (CLIENT SIDE) Page Load Time Health Check Corelate User and Server Requests
  11. 11. APPDYNAMICS (CLIENT SIDE) Page Load Time Health Check Corelate User and Server Requests JavaScript Errors
  12. 12. QBAKA Site: https://qbaka.com SaaS Javascript Error Reporting Require Some JS on the Page
  13. 13. REAL TIME VISITORS Google Analytics ( ) Pingdom ( ) Gauges ( ) https://www.google.com/analytics https://www.pingdom.com http://get.gaug.es
  14. 14. SYSTEM MONITORING My app is down! Why?!?! I didn't change the code! I can connect to the service, but why the app doesn't work? What part of the system is not working? Is my server over or under capacity? Do I need to scale up/down my servers? Should I? Can I?
  15. 15. SCOUT Site: SaaS Lots of Charts Based on Plugins Ruby Friendly Alerts by E-mail, SMS, PagerDuty, Web Hooks https://scoutapp.com/
  16. 16. SERVER DENSITY Site: SaaS Cloud, Server and Site Monitoring Responsive Interface Alerts by E-mail, SMS, Push Notifications, Web Hooks Can Re-Scale Instances (from docs) http://www.serverdensity.com/
  17. 17. BOUNDARY Site: SaaS Linux Kernel Module Deep Network Monitoring Proactive Alerting (Cristal Ball) http://boundary.com/
  18. 18. NAGIOS Site: The Classic! The Legend! You Have to Manage Tons of Checkers Hard To Setup Ugly Interface http://www.nagios.org
  19. 19. LOGS What is wrong with my server? Is my code/server crashing? How to find an error in a pile of logs?
  20. 20. LOGGLY Site: SaaS Combine All Logs Real-Time http://loggly.com/
  21. 21. PAPERTRAIL Site: SaaS Combine All Logs Real-Time https://papertrailapp.com/
  22. 22. SPLUNK / SPLUNKSTORM Site: Standalone and SaaS Combine All Logs Real-Time Create Filters and Analyzers http://splunkstorm.com/
  23. 23. LOGSTASH + KIBANA 3 Site: and You Have to Host It Very Easy to Customize (Custom Dashboards) Create Filters and Analyzers Logstash Can Be Distributed Free / Open Source http://logstash.net/ http://three.kibana.org/
  24. 24. METRICS How is your audience? Increased a lot? Decreased a lot? How is your revenue? Can users from all locations access your site? Are you selling? Are you shipping user orders?
  25. 25. LIBRATO Site: SaaS Generate Custom Graphs https://metrics.librato.com/
  26. 26. STATSD + GRAPHITE Site: Open Source from Etsy (Node.js) Lightweight https://github.com/etsy/statsd/
  27. 27. SOME METRICS TYPES Analyzing Logs Quantity Analyzing Access Analyzing User Region (country, state) Analyzing Languages Analyzing Network Analyzing RPM (Requests Per Minute)
  28. 28. REVIEW - TYPES Server Application Client Side System Monitoring Logs Metrics
  29. 29. QUESTIONS?
  30. 30. THANKS

×