Book description
Get up to speed with Prometheus, the metrics-based monitoring system used by tens of thousands of organizations in production. This practical guide provides application developers, sysadmins, and DevOps practitioners 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.
This open source system has gained popularity over the past few years for good reason. With its simple yet powerful data model and query language, Prometheus does one thing, and it does it well. Author and Prometheus developer Brian Brazil guides you through Prometheus setup, the Node exporter, and the Alertmanager, then demonstrates how to use them for application and infrastructure monitoring.
- Know where and how much to apply instrumentation to your application code
- Identify metrics with labels using unique key-value pairs
- Get an introduction to Grafana, a popular tool for building dashboards
- Learn how to use the Node Exporter to monitor your infrastructure
- Use service discovery to provide different views of your machines and services
- Use Prometheus with Kubernetes and examine exporters you can use with containers
- Convert data from other monitoring systems into the Prometheus format
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. Putting It All Together
- Index
- About the Author
Product information
- Title: Prometheus: Up & Running
- Author(s):
- Release date: July 2018
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492034094
You might also like
book
Prometheus: Up & Running, 2nd Edition
Get up to speed with Prometheus, the metrics-based monitoring system used in production by tens of …
book
Kubernetes: Up and Running, 3rd Edition
This third edition comes with a dedicated playlist of interactive Katacoda labs mapped to each section …
book
Terraform: Up and Running, 3rd Edition
Terraform has become a key player in the DevOps world for defining, launching, and managing infrastructure …
book
Ansible: Up and Running, 3rd Edition
Among the many configuration management tools available, Ansible has some distinct advantages: It's minimal in nature. …