Slide 1

Slide 1 text

Using Errbit with the Express @mknkisk / Tokyo Otaku Mode Inc. February 24, 2017

Slide 2

Slide 2 text

Agenda • What’s Errbit? • Capture exceptions • Integrate Errbit with GitHub • Manual error delivery • Monitoring for Staging

Slide 3

Slide 3 text

Do you know how many exceptions are occurring in the production? !

Slide 4

Slide 4 text

Can't reproduce the error?

Slide 5

Slide 5 text

I would recommend Errbit

Slide 6

Slide 6 text

Errbit

Slide 7

Slide 7 text

What’s Errbit? • “The open source error catcher that's Airbrake API compliant” • Ruby on Rails Application • Require MongoDB https://github.com/errbit/errbit

Slide 8

Slide 8 text

Airbrake • SaaS (Software as a Service) • Task Management Systems • Bug Capturing Tools https://airbrake.io

Slide 9

Slide 9 text

Capture exceptions

Slide 10

Slide 10 text

Setup $ yarn add airbrake or $ npm install airbrake

Slide 11

Slide 11 text

airbrake.expressHandler

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Integrate Errbit with GitHub

Slide 15

Slide 15 text

Login with GitHub • Login with GitHub account • Only users of the specified GitHub organization can log in to Errbit through GitHub. • Errbit will provision accounts for new users. https://github.com/errbit/errbit#configuring-github-authentication

Slide 16

Slide 16 text

Create issues on GitHub

Slide 17

Slide 17 text

Manual error delivery

Slide 18

Slide 18 text

Manual error delivery

Slide 19

Slide 19 text

notification, command error, etc …

Slide 20

Slide 20 text

Exception monitoring for Staging environments

Slide 21

Slide 21 text

By monitoring errors in the staging environment, we can find bugs before release

Slide 22

Slide 22 text

Others • Slack Notification • Client-Side JavaScript Errors • Skip Error • Filter Parameters

Slide 23

Slide 23 text

Pricing • Errbit • Heroku : Hobby -> $7 / month • Airbrake • STARTUP -> $99 / month • Historical Date Retention -> 90 Days

Slide 24

Slide 24 text

Let’s Start Bug Hunting