Book description
A hands-on and introductory guide to the art of modern application and infrastructure monitoring and metrics. We start small and then build on what you learn to scale out to multi-site, multi-tier applications. The book is written for both developers and sysadmins. We focus on building monitored and measurable applications. We also use tools that are designed to handle the challenges of managing Cloud, containerized and distributed applications and infrastructure.
In the book we'll deliver:
* An introduction to monitoring, metrics and measurement.
* A scalable framework for monitoring hosts (including Docker and containers), services and applications built on top of the Riemann event stream processor.
* Graphing and metric storage using Graphite and Grafana.
* Logging with Logstash.
* A framework for high quality and useful notifications
* Techniques for developing and building monitorable applications
* A capstone that puts all the pieces together to monitor a multi-tier application.
Table of contents
- The Art of Monitoring
- 1 Introduction
- 2 A Monitoring and Measurement Framework
-
3 Managing events and metrics with Riemann
- 3.1 Introducing Riemann
- 3.2 Configuring Riemann
- 3.3 Connecting Riemann servers
- 3.4 Alerting on the upstream Riemann servers
- 3.5 Testing your Riemann configuration
- 3.6 Validating Riemann configuration
- 3.7 Performance, scaling, and making Riemann highly available
- 3.8 Alternatives to Riemann
- 3.9 Summary
-
4 Introducing Graphite and Grafana
- 4.1 Introducing Graphite
- 4.2 Graphite architecture
- 4.3 Installing Graphite
- 4.4 Configuring Graphite and Carbon
- 4.5 Configuring Graphite-API
- 4.6 Configuring Grafana
- 4.7 Configuring Riemann for Graphite
- 4.8 A brief introduction to Grafana
- 4.9 Graphite and Carbon Redundancy
- 4.10 Time and time zones
- 4.11 Alternatives to Graphite and Grafana
- 4.12 Whisper alternatives
- 4.13 Summary
- 5 Host monitoring
- 6 Using collectd events in Riemann
-
7 Containers: another kind of host
- 7.1 Challenges with container monitoring
- 7.2 Monitoring Docker containers
- 7.3 Processing Docker collectd statistics with Riemann
- 7.4 Specifying different resolution for Docker metrics
- 7.5 Cleaning up old Graphite Docker metrics
- 7.6 Using Docker metrics for monitoring
- 7.7 Other container monitoring tools
- 7.8 Summary
-
8 Logs and logging
- 8.1 Introducing Elasticsearch, Logstash, and Kibana
- 8.2 Logstash architecture
- 8.3 Installing Logstash
- 8.4 Configuring Logstash
- 8.5 Installing Elasticsearch
- 8.6 Configuring our Elasticsearch cluster and nodes
- 8.7 Time and time zone
- 8.8 Integrating Logstash and Elasticsearch
- 8.9 Installing Kibana
- 8.10 Configuring Kibana
- 8.11 Running Kibana
- 8.12 Connecting our hosts to Logstash via Syslog
- 8.13 Logging from Docker
- 8.14 Sending data from Logstash to Riemann
- 8.15 Sending data from Riemann to Logstash
- 8.16 Scaling Elasticsearch and Logstash
- 8.17 Monitoring our components
- 8.18 Alternatives to Logstash
- 8.19 Summary
- 9 Building Monitored Applications
-
10 Notifications
- 10.1 Our current notifications
- 10.2 Updating expired event configuration
- 10.3 Upgrading our email notifications
- 10.4 Adding graphs to notifications
- 10.5 Adding Slack as a destination
- 10.6 Adding PagerDuty as a destination
- 10.7 Maintenance and downtime
- 10.8 Learning from your notifications
- 10.9 Other alerting tools
- 10.10 Summary
- 11 Monitoring Tornado: a capstone
- 12 Monitoring Tornado: Application Tier
- 13 Monitoring Tornado: Data tier
- 14 An Introduction to Clojure and Functional Programming
Product information
- Title: The Art of Monitoring
- Author(s):
- Release date: June 2016
- Publisher(s): Turnbull Press
- ISBN: None
You might also like
book
Practical Monitoring
Do you have a nagging feeling that your monitoring needs improvement, but you just aren’t sure …
book
Effective Monitoring and Alerting
The book describes data-driven approach to optimal monitoring and alerting in distributed computer systems. It interprets …
audiobook
The Art of Leadership
Many people think leadership is a higher calling that resides exclusively with managers who practice or …
book
The Manager's Path
Managing people is difficult wherever you work. But in the tech industry, where management is also …