In this chapter, we'll be focusing on scaling and federating Prometheus. For this, we'll be deploying three instances to simulate a scenario where a global Prometheus instance gathers metrics from two others. This approach will allow us not only to explore the required configurations, but also to understand how everything works together.
The setup we'll be using is illustrated in the following diagram:
In the next section, we will explain how to get the test environment up and running.