docs(plugins): improve install docs for plugins

This commit is contained in:
bergquist 2016-03-02 08:38:56 +01:00
parent bfce379471
commit 8b64b2113e
2 changed files with 13 additions and 8 deletions

View File

@ -86,7 +86,10 @@ pages:
- ['http_api/snapshot.md', 'API', 'Snapshot API'] - ['http_api/snapshot.md', 'API', 'Snapshot API']
- ['http_api/other.md', 'API', 'Other API'] - ['http_api/other.md', 'API', 'Other API']
- ['plugins/plugins.md', 'Plugins', 'Plugins'] - ['plugins/overview.md', 'Plugins', 'Overview']
- ['plugins/installation.md', 'Plugins', 'Installation']
- ['plugins/datasources.md', 'Plugins', 'Datasource plugins']
- ['plugins/panels.md', 'Plugins', 'Panel plugins']
- ['tutorials/index.md', 'Tutorials', 'Tutorials'] - ['tutorials/index.md', 'Tutorials', 'Tutorials']
- ['tutorials/hubot_howto.md', 'Tutorials', 'How To integrate Hubot and Grafana'] - ['tutorials/hubot_howto.md', 'Tutorials', 'How To integrate Hubot and Grafana']

View File

@ -8,37 +8,39 @@ page_keywords: grafana, plugins, documentation
## Installing plugins ## Installing plugins
The easiest way to install plugins is by using the CLI tool grafana-cli which is bundled with grafana. The easiest way to install plugins is by using the CLI tool grafana-cli which is bundled with grafana. Before any modification take place after modifieng plugins, grafana-server need to be restarted.
### Grafana plugin directory ### Grafana plugin directory
On Linux systems the grafana-cli will assume that the grafana plugin directory is "/var/lib/grafana/plugins". Its possible to override the directory which grafana-cli will operate on by specifing the --path flag. On Windows systems this parameter have to be specified for every call. On Linux systems the grafana-cli will assume that the grafana plugin directory is "/var/lib/grafana/plugins". Its possible to override the directory which grafana-cli will operate on by specifing the --path flag. On Windows systems this parameter have to be specified for every call.
### List available plugins ### Grafana-cli commands
List available plugins
``` ```
grafana-cli list-remove grafana-cli list-remove
``` ```
### Install a plugin type Install a plugin type
``` ```
grafana-cli install <plugin-id> grafana-cli install <plugin-id>
``` ```
### List installed plugins List installed plugins
``` ```
grafana-cli ls grafana-cli ls
``` ```
### Upgrade all installed plugins Upgrade all installed plugins
``` ```
grafana-cli upgrade-all grafana-cli upgrade-all
``` ```
### Upgrade one plugin Upgrade one plugin
``` ```
grafana-cli upgrade <plugin-id> grafana-cli upgrade <plugin-id>
``` ```
### Remove one plugin Remove one plugin
``` ```
grafana-cli remove <plugin-id> grafana-cli remove <plugin-id>
``` ```