Installation

Distribution Package

This is the recommended method of installing grafana-pcp.

Fedora

$ sudo dnf install grafana-pcp
$ sudo systemctl restart grafana-server

From GitHub

If there is no package available for your distribution, you can install a release from GitHub.

$ wget https://github.com/performancecopilot/grafana-pcp/archive/v2.0.2.tar.gz
$ sudo tar xfz v2.0.2.tar.gz -C /var/lib/grafana/plugins
$ sudo systemctl restart grafana-server

From Source

The yarn package manager is required for building grafana-pcp.

$ git clone https://github.com/performancecopilot/grafana-pcp.git
$ yarn install
$ yarn run build
$ sudo ln -s $(pwd) /var/lib/grafana/plugins
$ sudo systemctl restart grafana-server

For interactive development, run yarn run watch.