Skip to content

Commit 63581a2

Browse files
committed
adding monitoring section
1 parent 2734f6c commit 63581a2

File tree

9 files changed

+176
-46
lines changed

9 files changed

+176
-46
lines changed

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2013-09-27T09:35:02Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2013-10-29T08:11:34Z</updated></feed>

index.html

Lines changed: 44 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@
5757
<li><a href="#web-framework">Web Framework</a></li>
5858
<li><a href="#content-delivery-network">CDN</a></li>
5959
<li><a href="#website-security">Website Security</a></li>
60-
<li><a href="#web-analytics">Web Analytics</a></li>
6160
<li><a href="#caching">Caching</a></li>
61+
<li><a href="#web-analytics">Web Analytics</a></li>
62+
<li><a href="#monitoring">Monitoring</a></li>
6263
<li><a href="#about-author">About</a></li>
6364
<li><a href="#change-log">Change Log</a></li>
6465
</ul>
@@ -245,17 +246,6 @@ <h2>Red Hat and CentOS</h2>
245246
to handle the packaging and installation of libraries and applications. YUM
246247
provides a command-line interface for interacting with the RPM system.</p>
247248
</div>
248-
<div class="section" id="monitoring">
249-
<h2>Monitoring</h2>
250-
<p>There are several important resources to monitor on the operating system
251-
and network level of a web stack.</p>
252-
<ol class="arabic simple">
253-
<li>CPU utilization</li>
254-
<li>Memory utilization</li>
255-
<li>Persistence storage consumed versus free</li>
256-
<li>Network bandwidth and latency</li>
257-
</ol>
258-
</div>
259249
<div class="section" id="operating-system-resources">
260250
<h2>Operating System Resources</h2>
261251
<p><a class="reference external" href="http://www.andrewault.net/2010/05/17/securing-an-ubuntu-server/">Securing an Ubuntu Server</a></p>
@@ -440,16 +430,6 @@ <h1>Website Security</h1>
440430
<div class="section" id="website-security-resources">
441431
<h2>Website Security Resources</h2>
442432
<p><a class="reference external" href="http://arstechnica.com/security/2013/02/securing-your-website-a-tough-job-but-someones-got-to-do-it/">Securing Your Website</a></p>
443-
</div>
444-
445-
</section>
446-
<section id="web-analytics" class="tech-section">
447-
<h1>Web Analytics</h1>
448-
<p>Web analytics involves a mix of collecting and analyzing data generated
449-
by visitors to a website.</p>
450-
<div class="section" id="web-analytics-resources">
451-
<h2>Web Analytics Resources</h2>
452-
<p><a class="reference external" href="http://blog.arkency.com/2012/12/google-analytics-for-developers/">Google Analytics for Developers</a></p>
453433
</div>
454434

455435
</section>
@@ -465,6 +445,48 @@ <h2>Caching Resources</h2>
465445
easily be configured for caching with libraries such as
466446
<a class="reference external" href="https://github.com/sebleier/django-redis-cache">django-redis-cache</a>.</li>
467447
</ul>
448+
</div>
449+
450+
</section>
451+
<section id="web-analytics" class="tech-section">
452+
<h1>Web Analytics</h1>
453+
<p>Web analytics involves a mix of collecting and analyzing data generated
454+
by visitors to a website.</p>
455+
<div class="section" id="web-analytics-resources">
456+
<h2>Web Analytics Resources</h2>
457+
<p><a class="reference external" href="http://blog.arkency.com/2012/12/google-analytics-for-developers/">Google Analytics for Developers</a></p>
458+
</div>
459+
460+
</section>
461+
<section id="monitoring" class="tech-section">
462+
<h1>Monitoring</h1>
463+
<p>Capturing and analyzing data about your production environment is critical
464+
to proactively deal with stability, performance, and errors in a web
465+
application.</p>
466+
<p>There are several important resources to monitor on the operating system
467+
and network level of a web stack.</p>
468+
<ol class="arabic simple">
469+
<li>CPU utilization</li>
470+
<li>Memory utilization</li>
471+
<li>Persistence storage consumed versus free</li>
472+
<li>Network bandwidth and latency</li>
473+
</ol>
474+
<p>Application level monitoring encompasses several aspects. The amount of time
475+
and resources dedicated to each aspect will vary based on whether an
476+
application is read-heavy, write-heavy, or subject to rapid swings in traffic.</p>
477+
<ol class="arabic simple">
478+
<li>Application warnings and errors (500-level HTTP errors)</li>
479+
<li>Application code performance</li>
480+
<li>Template rendering time</li>
481+
<li>Browser rendering time for the application</li>
482+
<li>Database querying performance</li>
483+
</ol>
484+
<div class="section" id="monitoring-resources">
485+
<h2>Monitoring Resources</h2>
486+
<p><a class="reference external" href="http://newrelic.com/">New Relic</a>. Application and database monitoring as
487+
well as plug ins for capturing and analyzing additional data about tools in
488+
your stack.</p>
489+
<p><a class="reference external" href="http://copperegg.com/">CopperEgg</a>. Server and infrastructure monitoring.</p>
468490
</div>
469491

470492
</section>

pages/monitoring.html

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<!doctype html>
2+
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
3+
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
4+
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
5+
<!--[if gt IE 8]><!-->
6+
<html class="no-js" lang="en"> <!--<![endif]-->
7+
8+
<head>
9+
<meta charset="utf-8">
10+
<meta name="language" content="English" />
11+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
12+
13+
<title>Full Stack Python</title>
14+
<meta name="description" content="Full stack Python shows how an entire Python web application is built, from the server to the front end JavaScript.">
15+
<meta name="author" content="Matt Makai">
16+
<meta name="viewport" content="width=device-width,initial-scale=1">
17+
<link rel="stylesheet" href="/css/c.css" />
18+
<link rel="stylesheet" href="/css/bootstrap-responsive.min.css" />
19+
<script src="/js/modernizr-2.0.6.min.js"></script>
20+
<script type="text/javascript">
21+
22+
var _gaq = _gaq || [];
23+
_gaq.push(['_setAccount', 'UA-19910497-7']);
24+
_gaq.push(['_trackPageview']);
25+
26+
(function() {
27+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
28+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
29+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
30+
})();
31+
32+
</script>
33+
</head>
34+
35+
<body>
36+
<a href="https://github.com/makaimc/fullstackpython.github.com" class="github">
37+
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" />
38+
</a>
39+
<div class="container">
40+
<div class="row">
41+
<div class="span12">
42+
<div class="logo-header-section">
43+
<a href="/"><img src="../img/full-stack-python-logo-bw.png" height="42" width="42" class="logo-image" /></a>
44+
<span class="logo-title"><a href="/">Full Stack Python</a></span>
45+
</div>
46+
</div>
47+
</div>
48+
<h1>Monitoring</h1>
49+
50+
51+
<p>Capturing and analyzing data about your production environment is critical
52+
to proactively deal with stability, performance, and errors in a web
53+
application.</p>
54+
<p>There are several important resources to monitor on the operating system
55+
and network level of a web stack.</p>
56+
<ol class="arabic simple">
57+
<li>CPU utilization</li>
58+
<li>Memory utilization</li>
59+
<li>Persistence storage consumed versus free</li>
60+
<li>Network bandwidth and latency</li>
61+
</ol>
62+
<p>Application level monitoring encompasses several aspects. The amount of time
63+
and resources dedicated to each aspect will vary based on whether an
64+
application is read-heavy, write-heavy, or subject to rapid swings in traffic.</p>
65+
<ol class="arabic simple">
66+
<li>Application warnings and errors (500-level HTTP errors)</li>
67+
<li>Application code performance</li>
68+
<li>Template rendering time</li>
69+
<li>Browser rendering time for the application</li>
70+
<li>Database querying performance</li>
71+
</ol>
72+
<div class="section" id="monitoring-resources">
73+
<h2>Monitoring Resources</h2>
74+
<p><a class="reference external" href="http://newrelic.com/">New Relic</a>. Application and database monitoring as
75+
well as plug ins for capturing and analyzing additional data about tools in
76+
your stack.</p>
77+
<p><a class="reference external" href="http://copperegg.com/">CopperEgg</a>. Server and infrastructure monitoring.</p>
78+
</div>
79+
80+
<hr/>
81+
<div class="footer pull-right">
82+
<a href="http://www.mattmakai.com/" class="underline">Matt Makai</a> 2013
83+
</div>
84+
</div>
85+
86+
<script src="http://code.jquery.com/jquery-latest.js"></script>
87+
<script src="/js/bootstrap.min.js"></script>
88+
</body>
89+
</html>

pages/operating-system.html

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,6 @@ <h2>Red Hat and CentOS</h2>
8282
to handle the packaging and installation of libraries and applications. YUM
8383
provides a command-line interface for interacting with the RPM system.</p>
8484
</div>
85-
<div class="section" id="monitoring">
86-
<h2>Monitoring</h2>
87-
<p>There are several important resources to monitor on the operating system
88-
and network level of a web stack.</p>
89-
<ol class="arabic simple">
90-
<li>CPU utilization</li>
91-
<li>Memory utilization</li>
92-
<li>Persistence storage consumed versus free</li>
93-
<li>Network bandwidth and latency</li>
94-
</ol>
95-
</div>
9685
<div class="section" id="operating-system-resources">
9786
<h2>Operating System Resources</h2>
9887
<p><a class="reference external" href="http://www.andrewault.net/2010/05/17/securing-an-ubuntu-server/">Securing an Ubuntu Server</a></p>

source/content/pages/caching.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Caching
33

44
:category: page
55
:slug: caching
6-
:sort-order: 10
6+
:sort-order: 09
77

88
Caching can reduce load on servers by storing the results of common
99
operations and serving the precomputed answers to clients.

source/content/pages/change-log.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Change Log
55
:slug: change-log
66
:sort-order: 13
77

8+
2013.10.29: Creating separate monitoring section.
9+
810
2013.08.20: Adding more resources for web servers and other categories.
911

1012
2013.06.23: Updating styling, adding new content, switching around sections.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Monitoring
2+
==========
3+
4+
:category: page
5+
:slug: monitoring
6+
:sort-order: 11
7+
8+
Capturing and analyzing data about your production environment is critical
9+
to proactively deal with stability, performance, and errors in a web
10+
application.
11+
12+
There are several important resources to monitor on the operating system
13+
and network level of a web stack.
14+
15+
1. CPU utilization
16+
2. Memory utilization
17+
3. Persistence storage consumed versus free
18+
4. Network bandwidth and latency
19+
20+
Application level monitoring encompasses several aspects. The amount of time
21+
and resources dedicated to each aspect will vary based on whether an
22+
application is read-heavy, write-heavy, or subject to rapid swings in traffic.
23+
24+
1. Application warnings and errors (500-level HTTP errors)
25+
2. Application code performance
26+
3. Template rendering time
27+
4. Browser rendering time for the application
28+
5. Database querying performance
29+
30+
31+
Monitoring Resources
32+
--------------------
33+
`New Relic <http://newrelic.com/>`_. Application and database monitoring as
34+
well as plug ins for capturing and analyzing additional data about tools in
35+
your stack.
36+
37+
`CopperEgg <http://copperegg.com/>`_. Server and infrastructure monitoring.
38+

source/content/pages/operating-system.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ to handle the packaging and installation of libraries and applications. YUM
4545
provides a command-line interface for interacting with the RPM system.
4646

4747

48-
Monitoring
49-
----------
50-
There are several important resources to monitor on the operating system
51-
and network level of a web stack.
52-
53-
1. CPU utilization
54-
2. Memory utilization
55-
3. Persistence storage consumed versus free
56-
4. Network bandwidth and latency
57-
5848

5949
Operating System Resources
6050
--------------------------

source/content/pages/web-analytics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Web Analytics
33

44
:category: page
55
:slug: web-analytics
6-
:sort-order: 09
6+
:sort-order: 10
77

88
Web analytics involves a mix of collecting and analyzing data generated
99
by visitors to a website.

0 commit comments

Comments
 (0)