New Relic it’s a powerful tool that handles application monitoring.
In case you don’t know how to install PostgreSQL you can follow this tutorial from DigitalOcean.