This project provides a simple way to forward alerts generated by Grafana to a Matrix chat room.
An open network for secure, decentralized communication
I use Grafana a lot to gather and track metrics on various services and servers, and when something goes wrong I want to get an automated alert about it.
Since I use Matrix a lot already, it made sense to get the alerts there. But there was no native way in Grafana to do that, so I made this forwarder to handle that translation.
This was not the first time I experimented integrating with chat protocols though. My first experiments were with the XMPP protocol back around 2016.
But there are a couple of reasons why I prefer Matrix over XMPP:
I wanted a practical project to test out building something that integrates with Matrix, and this is what I came up with.