How it works...

Like most modern Linux software, Grafana Labs provides Grafana through prepared .deb or .rpm packages, though they also provide standard compiled binaries. This should be sufficient for Red Hat, CentOS, Debian, Ubuntu, and other similar distributions, as well as other systems. They also have more advanced installation instructions for situations where these won't work.

Unlike some system services, Grafana is not automatically enabled upon installation, so we do this ourselves with systemctl. Afterward, all we need is a browser to continue working with Grafana. Assuming we installed the package on a server named pgmon, this means Grafana will run on port 3000 by default. Once we direct a browser to http://pgmon:3000/, we should ...

Get PostgreSQL 12 High Availability Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.