Book description
Get up to speed with Prometheus, the metrics-based monitoring system used in production by tens of thousands of organizations. This updated second edition provides site reliability engineers, Kubernetes administrators, and software developers with a hands-on introduction to the most important aspects of Prometheus, including dashboarding and alerting, direct code instrumentation, and metric collection from third-party systems with exporters.
Prometheus server maintainer Julien Pivotto and core developer Brian Brazil demonstrate how you can use Prometheus for application and infrastructure monitoring. This book guides you through Prometheus setup, the Node Exporter, and the Alertmanager, and then shows you how to use these tools for application and infrastructure monitoring. You'll understand why this open source system has continued to gain popularity in recent years.
You will:
- Know where and how much instrumentation to apply to your application code
- Monitor your infrastructure with Node Exporter and use new collectors for network system pressure metrics
- Get an introduction to Grafana, a popular tool for building dashboards
- Use service discovery and the new HTTP SD monitoring system to provide different views of your machines and services
- Use Prometheus with Kubernetes and examine exporters you can use with containers
- Discover Prom's new improvements and features, including trigonometry functions
- Learn how Prometheus supports important security features including TLS and basic authentication
Publisher resources
Table of contents
- Preface
- I. Introduction
- 1. What Is Prometheus?
- 2. Getting Started with Prometheus
- II. Application Monitoring
- 3. Instrumentation
- 4. Exposition
- 5. Labels
- 6. Dashboarding with Grafana
- III. Infrastructure Monitoring
- 7. Node Exporter
- 8. Service Discovery
- 9. Containers and Kubernetes
- 10. Common Exporters
- 11. Working with Other Monitoring Systems
- 12. Writing Exporters
- IV. PromQL
- 13. Introduction to PromQL
- 14. Aggregation Operators
- 15. Binary Operators
- 16. Functions
- 17. Recording Rules
- V. Alerting
- 18. Alerting
- 19. Alertmanager
- VI. Deployment
- 20. Server-Side Security
- 21. Putting It All Together
- Index
- About the Authors
Product information
- Title: Prometheus: Up & Running, 2nd Edition
- Author(s):
- Release date: April 2023
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098131142
You might also like
book
Prometheus: Up & Running
Get up to speed with Prometheus, the metrics-based monitoring system used by tens of thousands of …
book
Developing Apps with GPT-4 and ChatGPT
This minibook is a comprehensive guide for Python developers who want to learn how to build …
book
Terraform: Up and Running, 3rd Edition
Terraform has become a key player in the DevOps world for defining, launching, and managing infrastructure …
book
Kubernetes Patterns, 2nd Edition
This second edition comes with a dedicated playlist of interactive Katacoda labs mapped to sections of …