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

560

Published on

- monitoring exceptions
- utilizing your logs
- reproducing in production

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
560
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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 ;)
  1. A particular slide catching your eye?

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

×