Using Service Discovery
In Chapter 1, we discussed some of the things that set Prometheus apart from other monitoring tools. One of the major features that distinguishes Prometheus is its built-in functionality around what it calls service discovery. Now we get to learn more about what it is and how it works.
Being able to leverage service discovery and even write custom service discovery mechanisms will allow you to establish Prometheus environments that are truly dynamic and cloud-native. With that in mind, we’re going to dive into a comprehensive look at what service discovery is and how you can make the most of it.
In this chapter, we’re going to cover the following main topics:
- Service discovery overview
- Using service discovery in a cloud provider
- Custom service discovery endpoints with HTTP SD
Let’s get started!