Summary
In this chapter, you learned about the fundamentals of Prometheus, as well as how to install and configure it.
First, you looked at different options for exposing metrics from IoT devices before learning how to use a Prometheus data source in Grafana. Finally, we went through a practical example, which consisted of using a DS18B20 sensor and a Raspberry Pi.
Without a doubt, Prometheus is a good option to consider when you want to implement an IoT system. And in combination with Grafana, you can obtain great flexibility.
In the next chapter, we will look at another integration option for Grafana: OpenSearch.