On Wed, Apr 01, 2020 at 08:18:02PM -0700, Adarsh Kumar Pandey wrote:
> I wanted to store the alerts generated by prometheus into a separate
> database and I know that alertsnitch provides this feature but what if I
> want to use another database then how to do that?
> Does prometheus logs the alerts firing internally and how to access that
> any idea?
Write a small service that accepts the HTTP requests that Prometheus sends
for alerts and writes them to a database of your choice, configure
Prometheus to send alerts to that service, job done.
- Matt