Grafana

From Sugar Labs
Revision as of 13:19, 9 August 2021 by Srevin03 (talk | contribs) (Add grafana docs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sugar Labs uses Grafana to monitor new VMs and services. Previously, Sugar Labs used Munin, which is being migrated slowly to Grafana.

Grafana runs on sunjammer.sugarlabs.org, and is accessible at https://grafana.sugarlabs.org

Install

Follow the instructions specified on https://grafana.com/docs/grafana/latest/installation/debian/ for the latest instructions.

Update

Grafana is installed as an ubuntu PPA, that means, it should automatically get updated when you update your system

Configuration

Grafana stores its configuration at /etc/grafana/grafana.ini

To create an account on Grafana, contact sysadmin.

Grafana is the web frontend to view the monitoring logs which are provided by prometheus. Prometheus periodically polls the output of Prometheus Node Exporter, both of which runs as systemd service.

There are different exporters for different kind of services, like exporters for Apache, Nginx, MySQL / MariaDB, etc.