There are two different things here. There is monitoring PostgreSQL itself, and there's also generating metrics from "business data" in the database.
For "business data", you want to use an SQL exporter. There are several options here. https://github.com/free/sql_exporter https://github.com/justwatchcom/sql_exporter https://github.com/albertodonato/query-exporter For PostgreSQL, the database server, you want to use the postgres_exporter. https://github.com/wrouesnel/postgres_exporter On Fri, Jun 19, 2020 at 1:56 PM zamek z <[email protected]> wrote: > Hi All, > > I'm new in prometheus, and I need a solution, to monitoring my postgresql > database. Which reporter do you suggest to do it? I need simply to get an > element counts in a table. > > thx, > Zamek > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/d8e565e5-b7b5-4a6d-b724-ece13b74ba61o%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/d8e565e5-b7b5-4a6d-b724-ece13b74ba61o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmobR1Etb7_izc67Rht3h2w1LmyKr90g9necHij_M0mQdA%40mail.gmail.com.

