The Prometheus Alertmanager does not provide any history of alerts. Logging of alerts is the most simple solution to get that history. In combination with log management solutions like Elastic Stack, etc. it should fit most use-cases for a comfortable history of alerts.