Slide 1

Slide 1 text

Crash reporting with Sentry

Slide 2

Slide 2 text

Gilson Filho ● Web Developer ● IFRN Developer (ENAP) ○ SUAP ● Scraping and Data Mining ● Opensource Enthusiast ○ Meu Candidato ○ Procult (SECULT-DF) ● GruPy-DF 2 Email: [email protected] Phone: (61) 9 8334-2344 Telegram: @gilsondev

Slide 3

Slide 3 text

A release isn’t the end… 3 Errors are your first chance to iterate. If bugs make it to production, jump into action before your users even notice a problem. Your customers (and your workflow) will thank you.

Slide 4

Slide 4 text

What is Sentry? 4

Slide 5

Slide 5 text

“ Sentry fundamentally is a service that helps you monitor and fix crashes in realtime. 5

Slide 6

Slide 6 text

“ The server is in Python, but it contains a full API for sending events from any language, in any application. 6

Slide 7

Slide 7 text

What is Sentry? ▷ Open source (BSD License) ▷ Self hosted and cloud (sentry.io) ▷ Clients for any languages (SDKs) ▷ Integrations for any platforms 7

Slide 8

Slide 8 text

Like stack traces, but more and better 8 Source code Sentry shows your source code right in the stacktrace, so you don’t need to find it yourself.

Slide 9

Slide 9 text

Like stack traces, but more and better 9 Error filters In noisy traces, you can filter to see just your application errors, include framework errors, or show the raw trace.

Slide 10

Slide 10 text

Like stack traces, but more and better 10 Sensitive data scrubbing We automatically scrub things that look like credit cards, or contain things like password, secret, or api_key. You can also specify custom values to scrub and filter data on the client side before it gets sent to us.

Slide 11

Slide 11 text

11

Slide 12

Slide 12 text

12

Slide 13

Slide 13 text

Cases 13

Slide 14

Slide 14 text

14

Slide 15

Slide 15 text

15

Slide 16

Slide 16 text

16

Slide 17

Slide 17 text

17

Slide 18

Slide 18 text

18

Slide 19

Slide 19 text

19

Slide 20

Slide 20 text

20

Slide 21

Slide 21 text

21

Slide 22

Slide 22 text

Configuration 22

Slide 23

Slide 23 text

Create a Project Choose your language or framework and define a project name to receive all errors of application 23

Slide 24

Slide 24 text

Choose your SDK Sentry captures data by using an SDK within your application’s runtime. These are platform specific, and allow Sentry to have a deep understanding of both how your application works. 24

Slide 25

Slide 25 text

Use the DSN of Project With project created, use the Data Source Name and configure your application to SDK send errors data (backend and/or frontend) 25

Slide 26

Slide 26 text

Recap Configure Define the DSN generated on the settings of your project Create Project Define new project on the Sentry, if not exists Install SDK Use the SDK of your language and follow the documentation 26

Slide 27

Slide 27 text

Demo 27 https://github.com/gilsondev/sentry-demo

Slide 28

Slide 28 text

28

Slide 29

Slide 29 text

Documentation 29 https://docs.sentry.io

Slide 30

Slide 30 text

Blog: df.python.org.br Telegram: @grupydf Meetup: meetup.com/pt-BR/pythondf

Slide 31

Slide 31 text

31

Slide 32

Slide 32 text

32 Slides bit.ly/sentry-flisoldf2018 bit.ly/speakerdeck-sentry-flisoldf2018

Slide 33

Slide 33 text

Thanks! Any questions? Email: [email protected] Phone: (61) 9 8334-2344 Telegram: @gilsondev 33