Grafana is an open-source platform for monitoring and observability. Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored.
If you see the following error:
mkdir: cannot create directory '/var/lib/grafana/plugins': Permission denied, GF_PATHS_DATA='/var/lib/grafana' is not writable.
Run the following command to fix it:
sudo chown -R $USER:$USER ~/.config/appdata/grafana