Skip to content

Commit cd17450

Browse files
committed
work on next blog post for monitoring web apps
1 parent 418fdd5 commit cd17450

File tree

5 files changed

+71
-0
lines changed

5 files changed

+71
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
title: How to Add Hosted Monitoring to Flask Web Applications
2+
slug: hosted-monitoring-flask-web-apps
3+
meta:
4+
category: post
5+
date: 2017-07-17
6+
modified: 2017-07-17
7+
headerimage: /img/170717-monitor-flask-apps/header.jpg
8+
headeralt: Flask, Python and Rollbar logos, copyright their respective owners.
9+
10+
11+
How do you know whether your application is running properly with minimal
12+
errors after [building](/web-development.html) and
13+
[deploying](/deployment.html) it? The fastest and easiest way
14+
to monitor your operational [Flask web application](/flask.html) is to
15+
integrate one of the many available fantastic hosted
16+
[monitoring](/monitoring.html) tools.
17+
18+
In this post we will quickly add [Rollbar monitoring](https://rollbar.com)
19+
to catch errors and visualize our application is running properly.
20+
21+
22+
## Our Tools
23+
24+
25+
## Installing Dependencies
26+
27+
```
28+
pip install flask==0.12.2 rollbar
29+
```
30+
31+
## Running the Flask App
32+
(error occurs but we dont see it)
33+
34+
## Handling Errors
35+
(sign up for Rollbar)
36+
(links to Python docs)
37+
38+
## Testing Error Handling
39+
40+
41+
## What's Next?
42+
We just learned how to catch and handle errors that occur in a simple
43+
Flask application. Next you will want to add monitoring to your more
44+
complicated web apps. You can also check out some of Rollbar's more
45+
advanced features such as:
46+
47+
* cool feature 1
48+
* cool feature 2
49+
* cool feature 3
50+
51+
There is a lot more to learn about [web development](/web-development.html)
52+
and [deployments](/deployments.html) so keep learning by reading up on
53+
[Flask](/flask.html) and other [web frameworks](/web-frameworks.html)
54+
such as [Django](/django.html), [Pyramid](/pyramid.html) and
55+
[Sanic](/sanic.html).
56+
57+
Questions? Let me know via
58+
[a GitHub issue ticket on the Full Stack Python repository](https://github.com/mattmakai/fullstackpython.com/issues),
59+
on Twitter
60+
[@fullstackpython](https://twitter.com/fullstackpython)
61+
or [@mattmakai](https://twitter.com/mattmakai).
62+
63+
See something wrong in this blog post? Fork
64+
[this page's source on GitHub](https://github.com/mattmakai/fullstackpython.com/blob/master/content/posts/170717-monitor-flask-apps.markdown)
65+
and submit a pull request with a fix.
61.3 KB
Loading

static/img/logos/linux.jpg

53.7 KB
Loading

static/img/logos/talk-python.png

55.8 KB
Loading
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<a href="/web-frameworks.html" class="list-group-item smaller-item">Web Frameworks</a>
2+
<a href="/flask.html" class="list-group-item smaller-item">Flask</a>
3+
<a href="/deployment.html" class="list-group-item smaller-item">Deployment</a>
4+
<a href="/wsgi-servers.html" class="list-group-item smaller-item">WSGI Servers</a>
5+
<a href="/green-unicorn-gunicorn.html" class="list-group-item smaller-item">Green Unicorn (Gunicorn)</a>
6+
<a href="/monitoring.html" class="list-group-item smaller-item">Monitoring</a>

0 commit comments

Comments
 (0)