[prometheus-users] Re: Saving alerts generated in a database for further procesing like offline querying and ML

2020-04-02 Thread Adarsh Kumar Pandey
Anyone has any other solutions for this please let me know 
Thanks.

On Thursday, 2 April 2020 08:48:02 UTC+5:30, 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?
>
> Thanks and much Respect for your support guyz !!!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/4b5d6737-22f3-4ee1-8c9b-06b9b0e8133f%40googlegroups.com.


[prometheus-users] Re: Saving alerts generated in a database for further procesing like offline querying and ML

2020-04-01 Thread Adarsh Kumar Pandey
Thanks for the hint I will try that but I'm not much of a coder so I will 
have to learn to do that ..meanwhile if you could make my life easier by 
pointing me to the right direction I will be humbled by that. 

Rgards,
Adarsh

On Thursday, 2 April 2020 08:48:02 UTC+5:30, 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?
>
> Thanks and much Respect for your support guyz !!!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/b5b89581-8260-46f4-bc9d-c48f232190bc%40googlegroups.com.


[prometheus-users] Re: Saving alerts generated in a database for further procesing like offline querying and ML

2020-04-01 Thread Matt Palmer
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

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/20200402033817.656vqi4pe53we4xh%40hezmatt.org.