Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Infrastructure Monitoring with Prometheus

You're reading from  Hands-On Infrastructure Monitoring with Prometheus

Product type Book
Published in May 2019
Publisher Packt
ISBN-13 9781789612349
Pages 442 pages
Edition 1st Edition
Languages
Authors (2):
Joel Bastos Joel Bastos
Profile icon Joel Bastos
Pedro Araújo Pedro Araújo
Profile icon Pedro Araújo
View More author details

Table of Contents (21) Chapters

Preface 1. Section 1: Introduction
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

Chapter 3, Setting Up a Test Environment

  1. While the Prometheus stack can be deployed in almost every mainstream operating system, and thus, it will most certainly run in your desktop environment, it is more reproducible to use a Vagrant-based test environment for simulating machine deployments, and minikube to do the same for Kubernetes-based production environments.
  2. The defaults.sh file located in the utils directory allows the software versions to be changed for the virtual machine-based examples.
  3. The default subnet is 192.168.42.0/24 in all virtual machine-based examples.
  4. The steps to get a Prometheus instance up and running are as follows:
    1. Ensure that software versions match the ones recommended.
    2. Clone the code repository provided.
    3. Move into the chapter directory.
    4. Run vagrant up.
    5. When finished, run vagrant destroy -f.
  1. That information is available in the Prometheus web...
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 AU $19.99/month. Cancel anytime}