$30 off During Our Annual Pro Sale. View Details »

Sleep better by automating monitoring for your app

Sleep better by automating monitoring for your app

This talk will show strategies for monitoring your server and application. Get notified when your server or application encounters problems. Also, the talk will cover some ways to centralize, parse, and analyze your logs when your application is running in multiple servers.

Zumba Technology

August 31, 2013
Tweet

More Decks by Zumba Technology

Other Decks in Technology

Transcript

  1. SLEEP BETTER BY
    AUTOMATING
    MONITORING FOR YOUR
    APP
    Juan Basso - @jrbasso
    System Architect - Zumba Fitness

    View Slide

  2. I AM NOT...
    Being paid by any company
    Associated of any company
    Getting any kind of benefit
    Professional Talker :D

    View Slide

  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)

    View Slide

  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!

    View Slide

  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

    View Slide

  6. View Slide

  7. APPDYNAMICS
    Site:
    SaaS
    Focused on Network
    Show Slow Queries
    Show Slow Transactions
    Request Trace Detail
    NOT CakePHP Friendly
    http://www.appdynamics.com/

    View Slide

  8. View Slide

  9. ZEND SERVER
    Site:
    Web Server with Monitoring
    Store Full Request Detail
    Request Trace Detail
    All-in-one
    http://www.zend.com/en/products/server/

    View Slide

  10. View Slide

  11. APM
    Site:
    Extension, Free, Poor Documentation
    Hard to Install
    http://pecl.php.net/package/APM

    View Slide

  12. View Slide

  13. 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!

    View Slide

  14. NEW RELIC (CLIENT SIDE)
    Page Load Time
    Health Check
    Corelate User and Server Requests

    View Slide

  15. View Slide

  16. APPDYNAMICS (CLIENT SIDE)
    Page Load Time
    Health Check
    Corelate User and Server Requests
    JavaScript Errors

    View Slide

  17. View Slide

  18. QBAKA
    Site: https://qbaka.com
    SaaS
    Javascript Error Reporting
    Require Some JS on the Page

    View Slide

  19. View Slide

  20. REAL TIME VISITORS
    Google Analytics ( )
    Pingdom ( )
    Gauges ( )
    https://www.google.com/analytics
    https://www.pingdom.com
    http://get.gaug.es

    View Slide

  21. 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?

    View Slide

  22. SCOUT
    Site:
    SaaS
    Lots of Charts
    Based on Plugins
    Ruby Friendly
    Alerts by E-mail, SMS, PagerDuty, Web Hooks
    https://scoutapp.com/

    View Slide

  23. View Slide

  24. 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/

    View Slide

  25. View Slide

  26. BOUNDARY
    Site:
    SaaS
    Linux Kernel Module
    Deep Network Monitoring
    Proactive Alerting (Cristal Ball)
    http://boundary.com/

    View Slide

  27. View Slide

  28. NAGIOS
    Site:
    The Classic! The Legend!
    You Have to Manage
    Tons of Checkers
    Hard To Setup
    Ugly Interface
    http://www.nagios.org

    View Slide

  29. View Slide

  30. LOGS
    What is wrong with my server?
    Is my code/server crashing?
    How to find an error in a pile of logs?

    View Slide

  31. LOGGLY
    Site:
    SaaS
    Combine All Logs
    Real-Time
    http://loggly.com/

    View Slide

  32. View Slide

  33. PAPERTRAIL
    Site:
    SaaS
    Combine All Logs
    Real-Time
    https://papertrailapp.com/

    View Slide

  34. View Slide

  35. SPLUNK / SPLUNKSTORM
    Site:
    Standalone and SaaS
    Combine All Logs
    Real-Time
    Create Filters and Analyzers
    http://splunkstorm.com/

    View Slide

  36. View Slide

  37. 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/

    View Slide

  38. View Slide

  39. 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?

    View Slide

  40. LIBRATO
    Site:
    SaaS
    Generate Custom Graphs
    https://metrics.librato.com/

    View Slide

  41. View Slide

  42. STATSD + GRAPHITE
    Site:
    Open Source from Etsy (Node.js)
    Lightweight
    https://github.com/etsy/statsd/

    View Slide

  43. View Slide

  44. SOME METRICS TYPES
    Analyzing Logs Quantity
    Analyzing Access
    Analyzing User Region (country, state)
    Analyzing Languages
    Analyzing Network
    Analyzing RPM (Requests Per Minute)

    View Slide

  45. REVIEW - TYPES
    Server Application
    Client Side
    System Monitoring
    Logs
    Metrics

    View Slide

  46. QUESTIONS?

    View Slide

  47. THANKS

    View Slide