Python for Entrepreneurs Transcripts
Chapter: Monitoring and logging in production
Lecture: Introduction to Rollbar: Monitoring in production

Login or purchase this course to watch this video and the rest of the course contents.
0:02 Logging is great, but how often do you actually look at your log files?
0:05 When something is wrong with your application, you want to know,
0:09 you need to know right now, you would like everyone on the team to get a notice,
0:13 "the website is down, users are getting errors" and so on.
0:17 So, the way we do this is by integrating some kind of monitoring system
0:23 into our web application, the one that I recommend
0:27 and the one that I've been using for a long time, is called Rollbar.
0:31 And, Rollbar is cool because it works across many different technologies
0:34 like it's great with Python, but it also works with NoJs, client-side JavaScript, .NET,
0:39 you name it, Ruby, lots of different platforms are supported,
0:43 so you can sort of bring all of your monitoring from different applications
0:47 together even if you are not using Python for everything.
0:50 So, we're going to go and look inside of Rollbar
0:54 and I'l take you on a tour of my Rollbar account, then we'll create a new application,
0:59 which is going to be the monitoring app,
1:03 or the app that we are going to monitor inside Rollbar
1:06 and we are going to associate that with our Blue / Yellow Rockets web app
1:09 that we've been building this whole time.
1:12 And then, once we get it setup, we'll see if there is an error, we'll get a notification
1:16 in all sorts of places, we can setup our email, I am going to setup a Slack channel
1:21 so we'll get a notification in Slack, and then when we do get that notification of the error,
1:25 it actually contains all this information, it contains information
1:30 about where the stack trace or traceback was,
1:33 what the value of the local variables when it crashed were,
1:37 what operating system and browser were they using
1:41 when they caused this crash and so on, and so on.
1:44 Lots of pieces of information we'll be able to use here
1:47 to really quickly track down and solve the problem. Alright, let's get going to Rollbar.