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
Terraform: Up & Running, 2nd Edition
Terraform has become a key player in the DevOps world for defining, launching, and managing infrastructure …
book
Kubernetes: Up and Running, 2nd Edition
Kubernetes radically changes the way applications are built and deployed in the cloud. Since its introduction …
book
Kubernetes in Action
Kubernetes in Action is a comprehensive guide to effectively developing and running applications in a Kubernetes …