Skip to content

Commit 9485b0e

Browse files
committed
updates to monitoring post
1 parent 92340d9 commit 9485b0e

File tree

4 files changed

+23
-4
lines changed

4 files changed

+23
-4
lines changed

content/posts/170717-monitor-flask-apps.markdown

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ the post:
3838
packaged with Python 3, to install and isolate the Flask and Rollbar
3939
libraries from other Python projects you are working on
4040

41-
4241
If you need help getting your
4342
[development environment](/development-environments.html) configured
4443
before running this code, take a look at
@@ -47,7 +46,7 @@ before running this code, take a look at
4746
All code in this blog post is available open source under the MIT license
4847
on GitHub under the
4948
[monitor-flask-apps directory of the blog-code-examples repository](https://github.com/fullstackpython/blog-code-examples).
50-
Use and abuse the source code as you like for your own applications.
49+
Use and abuse the source code as you desire for your own applications.
5150

5251

5352
## Installing Dependencies
@@ -56,16 +55,35 @@ Use and abuse the source code as you like for your own applications.
5655
pip install flask==0.12.2 pyrollbar==0.13.12
5756
```
5857

58+
5959
## Building Our Flask App
6060

6161

6262
Create a new directory
6363
(error occurs but we dont see it)
6464

65+
6566
## Handling Errors
66-
(sign up for Rollbar)
67+
Head to [Rollbar's homepage](https://rollbar.com/) so we can add their
68+
hosted monitoring tools to our oft-erroring Flask app.
69+
70+
<img src="/img/170717-monitor-flask-apps/rollbar-homepage.png" width="100%" class="technical-diagram img-rounded" style="border:1px solid #ccc" alt="Rollbar homepage in the web browser.">
71+
72+
Click the "Sign Up" button in the upper right-hand corner. Enter your
73+
email address, a username and the password you want on the sign up page.
74+
75+
<img src="/img/170717-monitor-flask-apps/sign-up.jpg" width="100%" class="technical-diagram img-rounded" style="border:1px solid #ccc" alt="Enter your basic account information on the sign up page.">
76+
77+
After the sign up page you'll get to the onboarding flow where you can
78+
enter a project name and select a programming language. For project
79+
name enter "Echo" and select that you are monitoring a Python app.
80+
81+
<img src="/img/170717-monitor-flask-apps/create-new-project.png" width="100%" class="technical-diagram img-rounded" style="border:1px solid #ccc" alt="Create a new project named 'echo' and select Python as the programming language.">
82+
83+
6784
(links to Python docs)
6885

86+
6987
## Testing Error Handling
7088

7189

@@ -75,7 +93,8 @@ Flask application. Next you will want to add monitoring to your more
7593
complicated web apps. You can also check out some of Rollbar's more
7694
advanced features such as:
7795

78-
* cool feature 1
96+
* tracking and
97+
[debugging deployment issues](https://rollbar.com/docs/deploy-tracking/)
7998
* cool feature 2
8099
* cool feature 3
81100

141 KB
Loading
239 KB
Loading
81.4 KB
Loading

0 commit comments

Comments
 (0)