|
2 | 2 |
|
3 | 3 | ## Getting started |
4 | 4 |
|
5 | | -1. Create `grafana-plugins` folder |
6 | | -2. Open grafana config: |
7 | | - * MacOS: `vim /usr/local/etc/grafana/grafana.ini` |
8 | | - * Linux: `vim /etc/grafana/grafana.ini` |
9 | | -3. Specify path to your `grafana-plugins` folder: |
10 | | - ``` |
11 | | - # Directory where grafana will automatically scan and look for plugins |
12 | | - plugins = /<path_to>/grafana-plugins |
13 | | - ``` |
14 | | - *Don't forget to remove semicolon at the beginning* |
15 | | - |
16 | | -4. Clone [pyroscope-panel-plugin](https://github.com/pyroscope-io/grafana-panel-plugin) and [pyroscope-datasource-plugin](https://github.com/pyroscope-io/grafana-datasource-plugin) into `grafana-plugins` folder |
17 | | - |
18 | | -5. Visit each plugin folder and build them: |
19 | | - ``` |
20 | | - yarn install |
21 | | - yarn dev |
22 | | - ``` |
23 | | -6. Restart Grafana: |
24 | | - * MacOS Homebrew: `brew services restart grafana` |
25 | | - * Linux: `systemctl restart grafana-server` |
26 | | -7. Open Grafana ang go to **Configuratin -> Plugins** |
27 | | -8. Check that plugins are available: |
| 5 | +1. Get the zip file from the Github [releases page](https://github.com/pyroscope-io/grafana-panel-plugin/tags) on panel plugin repo. |
| 6 | +2. Get the zip file from the Github [releases page](https://github.com/pyroscope-io/grafana-datasource-plugin/tags) on datasource plugin repo. |
| 7 | +3. Extract zip files into the plugins directory for Grafana. |
| 8 | +4. Restart Grafana |
| 9 | +5. Open Grafana ang go to **Configuratin -> Plugins** |
| 10 | +6. Check that plugins are available: |
28 | 11 |  |
29 | | -9. Set up data source plugin: |
| 12 | +7. Set up data source plugin: |
30 | 13 | * **Configuration -> Data Sources -> Add data source** |
31 | 14 | * click on `pyroscope-datasource` |
32 | 15 | * Specify Pyroscope host in `Endpoint` field: |
33 | 16 |  |
34 | | -10. Set up panel plugin: |
| 17 | +8. Set up panel plugin: |
35 | 18 | * Add an empty panel on your dashboard |
36 | 19 | * Select `pyroscop-panel` from Visualization list |
37 | 20 | * Under panel view in Query tab select `pyroscope-datasource` |
|
0 commit comments