Infrastructure and Application Performance Monitoring
Julien Pivotto, Brian Brazil
Prometheus#
DevOps#
monitoring#
Kubernetes#
open_source#
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:
Table of Contents
Part I. Introduction
1. What Is Prometheus?.
2. Getting Started with Prometheus
Part II. Application Monitoring
3. Instrumentation
4. Exposition
5. Labels
6. Dashboarding with Grafana
Part 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
Part IV. PromQL
13. Introduction to PromQL
14. Aggregation Operators
15. Binary Operators
16. Functions
17. Recording Rules
Part V. Alerting
18. Alerting
19. Alertmanager
Part VI. Deployment
20. Server-Side Security
21. Putting It All Together
Julien Pivotto is a prominent figure in the world of open-source monitoring and alerting. As a maintainer of Prometheus, he has made significant contributions to the development and advancement of this powerful tool. Additionally, he is the co-founder of O11y, a company that specializes in providing premium support for various open-source observability tools such as Prometheus, Thanos, and Grafana.
Brian Brazil is the founder of Robust Perception and a Prometheus core developer. He is well known in the community, has given countless presentations at conferences, and his blog is widely read within the community.