errbit

22
Errbit Errbit pour dire c’est fix, quand on vous remonte le bug Cyril Mougel email: [email protected] twitter: @shingara github: http://github.com/shingara 2 Juillet 2013

Upload: cyril-mougel

Post on 18-May-2015

417 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Errbit

Errbit

Errbitpour dire c’est fix,

quand on vous remonte le bug

Cyril Mougel

email: [email protected]: @shingara

github: http://github.com/shingara

2 Juillet 2013

Page 2: Errbit

Errbit

Vous codez sans Bug ?

Page 3: Errbit

Errbit

Vous faites des tests Unitaires ?

Page 4: Errbit

Errbit

Vous testez tous les cas,meme illogique ?

Page 5: Errbit

Errbit

Page 6: Errbit

Errbit

Vous faites quoi ?

Page 7: Errbit

Errbit

grep 500 -A 1 -B 10 log/development.log

Page 8: Errbit

Errbit

Fastidieux

Source: http://yellowfireyoshi.deviantart.com/art/Boring-Pinkie-Vector-205068021

Page 9: Errbit

Errbit

Exception notification ?https://github.com/rails/exception_notification

Page 10: Errbit

Errbit

Inbox (2000)

Source: http://www.flickr.com/photos/10ch/3204310433/

Page 11: Errbit

Errbit

Il y a une application pour ca

Page 12: Errbit

Errbit

Errbithttp://github.com/errbit/errbit

Page 13: Errbit

Errbit

Gestion centralisee des erreurs

Page 14: Errbit

Errbit

Information concernant une erreur

Page 15: Errbit

Errbit

Association a un Bug Tracker

Page 16: Errbit

Errbit

Plusieurs systemes de notifications

Page 17: Errbit

Errbit

Installer sur heroku ?export APP_NAME=’errbit-test-master’

export EMAIL_FROM=’[email protected]

# Create Application

heroku create $APP_NAME --stack cedar

heroku addons:add mongolab:sandbox

heroku addons:add sendgrid:starter

# Config Application

heroku config:add HEROKU=true --app $APP_NAME

heroku config:add SECRET_TOKEN="$(bundle exec rake secret)" --app $APP_NAME

heroku config:add ERRBIT_HOST="$APP_NAME.herokuapp.com" --app $APP_NAME

heroku config:add ERRBIT_EMAIL_FROM=$EMAIL_FROM --app $APP_NAME

# Start Application

git push heroku

heroku run db:seed

open http://errbit-test-master.herokuapp.com

Page 18: Errbit

Errbit

Configurer l’applicationgem install airbrake

Airbrake.configure do |config|

config.api_key = ’6609bb33d1124b94f3225badc39cbcc8’

config.host = ’errbit-test-master.herokuapp.com’

config.port = 80

config.secure = config.port == 443

end

Page 19: Errbit

Errbit

Voila !

Page 20: Errbit

Errbit

N’hesitez pas a contribuerhttp://github.com/

errbit/errbit

Page 21: Errbit

Errbit

Le futur ?Migration vers Mongoid 3

Migration vers Rails 4

Ajout de notifiers

Possibilite de plusieurs notifiers simultanes

Compatiblite avec plusieurs gems de reporting

Page 22: Errbit

Errbit

Questions ?