Monitor and analyze postgresql in grafana

Hi all,
I’m using pgbadger to monitor and analyze my postgresql db. Does somebody know if and how i can reach a similar scope of functions in grafana?
I need to analyze my log files in a special way for the postgresql db and monitor other values (like results from telegraf in the influxdb)

Is it possible to modify my Loki in a way that it is similar to the pgbadger?

I am happy about every idea or hints!