Alerts history in Prometheus
Today I found that Prometheus has history of all alerts (including pending state), and it’s right there, inside Prometheus itself.
Up to this point we had used a rather complicated alerts logger, but, turned out, it’s completely redundant.