Slide 1

Slide 1 text

Production error monitoring with Sentry Barcamp Bangkhen 2017

Slide 2

Slide 2 text

Me ● Manatsawin Hanmongkolchai ● Owner, Programmer, DevOps, Business Development, Admin page, Support at TipMe.in.th ● Yes, this is my pet project

Slide 3

Slide 3 text

What is TipMe ● Platform for streamer donation on Twitch/YouTube/Facebook Live/MyLive ● Support Thai payment channels ○ True Money ○ True Wallet ○ More coming soonTM

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

How TipMe does Monitoring ● I know about 90% of site error without user report ● With only 3 alarms that has low false positive ● This is critical, as you want your user to be happy and your day job boss to be happy

Slide 6

Slide 6 text

3 Alarms? ● Two alarms are Stackdriver Monitoring HTTP check ● One point to a generic user page ● One point to a health check page ○ Test database writing ○ Test cache server ○ Test job system ○ Test cloud storage writing ● The last one is error reporter

Slide 7

Slide 7 text

Sentry ● Sentry is the one of the largest error reporting platform ● The first time I installed Sentry on TipMe I discovered 2 bugs that nobody bothered to report

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

How to use Sentry ● Free on Sentry.io (for one user - that's my whole team) ● Also can run self-hosted ● Many supported languages & framework

Slide 11

Slide 11 text

Let's integrate with React

Slide 12

Slide 12 text

Let's integrate with Django

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Sentry make it ridiculously simple to debug

Slide 16

Slide 16 text

Sentry make it ridiculously simple to debug

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

User report ● Attached to exception

Slide 23

Slide 23 text

User report Full of useless reports

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

Weekly report

Slide 30

Slide 30 text

If your production app doesn't have an error reporter, you're doing it wrong

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

Thank you