Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Infrastructure Monitoring with Prometheus

You're reading from   Hands-On Infrastructure Monitoring with Prometheus Implement and scale queries, dashboards, and alerting across machines and containers

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781789612349
Length 442 pages
Edition 1st Edition
Arrow right icon
Authors (3):
Arrow left icon
Pedro Araujo Pedro Araujo
Author Profile Icon Pedro Araujo
Pedro Araujo
Joel Bastos Joel Bastos
Author Profile Icon Joel Bastos
Joel Bastos
Pedro Ara√∫jo Pedro Ara√∫jo
Author Profile Icon Pedro Ara√∫jo
Pedro Ara√∫jo
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Section 1: Introduction FREE CHAPTER
2. Monitoring Fundamentals 3. An Overview of the Prometheus Ecosystem 4. Setting Up a Test Environment 5. Section 2: Getting Started with Prometheus
6. Prometheus Metrics Fundamentals 7. Running a Prometheus Server 8. Exporters and Integrations 9. Prometheus Query Language - PromQL 10. Troubleshooting and Validation 11. Section 3: Dashboards and Alerts
12. Defining Alerting and Recording Rules 13. Discovering and Creating Grafana Dashboards 14. Understanding and Extending Alertmanager 15. Section 4: Scalability, Resilience, and Maintainability
16. Choosing the Right Service Discovery 17. Scaling and Federating Prometheus 18. Integrating Long-Term Storage with Prometheus 19. Assessments 20. Other Books You May Enjoy

What this book covers

Chapter 1, Monitoring Fundamentals, lays the foundations of several key concepts that are used throughout the book. This chapter also explores the approach Prometheus takes to metric collection and why some controversial decisions are vital for the design and architecture of its stack.

Chapter 2, An Overview of the Prometheus Ecosystem, introduces a high-level overview of the entire Prometheus ecosystem, which components perform which jobs, and how everything interoperates logically.

Chapter 3, Setting Up a Test Environment, presents the fundamentals of how to use the test environments provided throughout the book, and how to tinker with them to validate different configurations.

Chapter 4, Prometheus Metrics Fundamentals, explores metrics, the core resource of Prometheus. Understanding them correctly is essential to fully utilize, manage, or even extend the Prometheus stack.

Chapter 5, Running a Prometheus Server, focuses on the Prometheus server, providing common patterns of usage and full setup process scenarios for virtual machines and containers.

Chapter 6, Exporters and Integrations, introduces some of the most useful exporters available, as well as providing examples on how to use them.

Chapter 7, Prometheus Query Language – PromQL, dives into the powerful and flexible Prometheus query language to leverage its multi-dimensional data model, which allows ad hoc aggregation and the combination of time series.

Chapter 8, Troubleshooting and Validation, provides useful guidelines on how to quickly detect and fix problems. It also presents useful endpoints that expose critical information and explores promtool, the Prometheus command-line interface and validation tool.

Chapter 9, Defining Alerting and Recording Rules, covers the usage and testing of recording and alerting rules, providing examples along the way.

Chapter 10, Discovering and Creating Grafana Dashboards, delves into the visualization components of the Prometheus stack, covering not only the built-in console functionality but also exploring Grafana and how to build, share, and reuse dashboards.

Chapter 11, Understanding and Extending Alertmanager, introduces the alerting component of the stack, showing how to integrate it with several different alerting providers, and how to correctly set up clustering to enable high-availability with the deduplication of alerts.

Chapter 12, Choosing the Right Service Discovery, explores multiple service discovery integrations, as well as providing you with the requirements and knowledge to build your own integration if required.

Chapter 13, Scaling and Federating Prometheus, tackles the scaling of a Prometheus stack and introduces concepts such as sharding and global views, while providing context and explaining them.

Chapter 14, Integrating Long-Term Storage with Prometheus, covers the concepts of the Prometheus read and write endpoints. Then, it deep-dives into considerations for external and long-term metric storage. Finally, it introduces an end-to-end example using Thanos.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image