Prometheus to Monitor postgres alert log

10 views
Skip to first unread message

Rushikesh socha

unread,
Apr 13, 2020, 11:35:10 AM4/13/20
to Prometheus Users
Hi,

I wanted to setup alert for any errors encountered for the postgres database. Is there any way prometheus can read postgres log file and send alert for any errors ?

Ben Kochie

unread,
Apr 13, 2020, 11:44:51 AM4/13/20
to Rushikesh socha, Prometheus Users
This is a good use case for mtail.


Here's an example of what we collect from postgres logs:

On Mon, Apr 13, 2020 at 5:35 PM Rushikesh socha <rushi...@gmail.com> wrote:
Hi,

I wanted to setup alert for any errors encountered for the postgres database. Is there any way prometheus can read postgres log file and send alert for any errors ?

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/f1ea419b-2302-4d98-8950-3d10f1c781c9%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages