Monitoring and Alerting with Prometheus

Some of the home automation projects featured in this book require monitoring and alerting capabilities. For example, projects in Chapter 4, Networking a Temperature Monitor, provide data that’s best viewed when plotted over time, while Chapter 6, Lighting the Weather, requires alerting capabilities. Instead of developing a custom solution to support these applications only, let’s roll out an instance of Prometheus, a popular monitoring and alerting solution, using containers on your Raspberry Pi.

Prometheus[38] is a monitoring system and time-series database widely used to monitor IT infrastructure, particularly container-based workloads. Prometheus is developed using Go, and its flexibility and ...

Get Automate Your Home Using Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.