Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Debugging
Production
@grosser grosser.it github.com/grosser
Michael Grosser
Ruby/Rails Framework Engineer
Exceptions
Logs
Reproduction
Exceptions:
In the beginning they are
helpful in the end they are
noise.
airbrake_tools
Hot
List
Summary
air_man
github.com / grosser / air_man
✓Exceptions
Logs
Reproduction
request_recorder
github.com / grosser / request_recorder
ultragrep
github.com / zendesk / ultragrep
- log folder structure <server>/year/month/day
- 1 log per day 00:00 - 23:59
- 2 newlines between requests
✓Exceptions
✓Logs
Reproduction
Login as customer:
- master password
- admins can log in as end-user
- log who auths as whom
validate fix in production
before deploying
- prefer read only server
- app.get / post
- helper.link_to
✓Exceptions
✓Logs
✓ Reproduction
Know your exceptions
- hot / patterns (airbrake_tools)
- monitor (air_man)
- track http status codes
Know your logs
- redirects / queries
(request_recorder)
- search / info / data (ultragrep)
Reproduce to debug
Reproduce before deploying
Also hiring (Ruby/Ember/DevOps/...) -> live in sunny SF ;)
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Debugging production - eurucamp 2013
Upcoming SlideShare
Loading in …5
×

Debugging production - eurucamp 2013

898 views

Published on

- monitoring exceptions
- utilizing your logs
- reproducing in production

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Debugging production - eurucamp 2013

  1. 1. Debugging Production
  2. 2. @grosser grosser.it github.com/grosser Michael Grosser Ruby/Rails Framework Engineer
  3. 3. Exceptions Logs Reproduction
  4. 4. Exceptions: In the beginning they are helpful in the end they are noise.
  5. 5. airbrake_tools
  6. 6. Hot
  7. 7. List
  8. 8. Summary
  9. 9. air_man github.com / grosser / air_man
  10. 10. ✓Exceptions Logs Reproduction
  11. 11. request_recorder github.com / grosser / request_recorder
  12. 12. ultragrep github.com / zendesk / ultragrep
  13. 13. - log folder structure <server>/year/month/day - 1 log per day 00:00 - 23:59 - 2 newlines between requests
  14. 14. ✓Exceptions ✓Logs Reproduction
  15. 15. Login as customer: - master password - admins can log in as end-user - log who auths as whom
  16. 16. validate fix in production before deploying
  17. 17. - prefer read only server - app.get / post - helper.link_to
  18. 18. ✓Exceptions ✓Logs ✓ Reproduction
  19. 19. Know your exceptions - hot / patterns (airbrake_tools) - monitor (air_man) - track http status codes
  20. 20. Know your logs - redirects / queries (request_recorder) - search / info / data (ultragrep)
  21. 21. Reproduce to debug Reproduce before deploying
  22. 22. Also hiring (Ruby/Ember/DevOps/...) -> live in sunny SF ;)

×