Skip to content

Commit

Permalink
Include grafana-cli in plugin installation guide (#396)
Browse files Browse the repository at this point in the history
* Include grafana-cli in plugin installation guide

Signed-off-by: MA3CIN <[email protected]>

* bump release version to 2.2.3

Signed-off-by: MA3CIN <[email protected]>

---------

Signed-off-by: MA3CIN <[email protected]>
  • Loading branch information
MA3CIN authored Aug 10, 2023
1 parent 588dc4d commit e30874a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
18 changes: 12 additions & 6 deletions docs/use-grafana-data-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,31 @@ This document describes how to install the Data Source plugin locally in Grafana

:::note

- Grafana should be in 7.0.0 or later versions.
- The Data Source plugin cannot be installed through `grafana-cli` at this time, because Grafana has not yet accepted the plugin submission for Chaos Mesh Data Source.
- Minimum supported version for Grafana is 7.0.0
- Minimum supported version for Chaos Mesh is 2.1.0

:::

## Install Data Source Plugin
## Install Data Source Plugin using grafana-cli

You can install the Data Source plugin locally in Grafana by following these steps:
```shell
grafana-cli plugins install chaosmeshorg-datasource
```

## Manual installation

As an alternative, you can also install the Data Source plugin locally in Grafana by following these steps:

1. Download the plugin zip package with the following command, or visit <https://github.com/chaos-mesh/datasource/releases> to download the package:

```shell
curl -LO https://github.com/chaos-mesh/datasource/releases/download/v2.1.0/chaosmeshorg-datasource-2.1.0.zip
curl -LO https://github.com/chaos-mesh/datasource/releases/download/v2.2.3/chaosmeshorg-datasource-2.2.3.zip
```

After downloading, extract the plugin to the Grafana plugin directory:

```shell
unzip chaosmeshorg-datasource-2.1.0.zip -d YOUR_PLUGIN_DIR
unzip chaosmeshorg-datasource-2.2.3.zip -d YOUR_PLUGIN_DIR
```

:::tip
Expand Down
18 changes: 12 additions & 6 deletions versioned_docs/version-2.6.1/use-grafana-data-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,31 @@ This document describes how to install the Data Source plugin locally in Grafana

:::note

- Grafana should be in 7.0.0 or later versions.
- The Data Source plugin cannot be installed through `grafana-cli` at this time, because Grafana has not yet accepted the plugin submission for Chaos Mesh Data Source.
- Minimum supported version for Grafana is 7.0.0
- Minimum supported version for Chaos Mesh is 2.1.0

:::

## Install Data Source Plugin
## Install Data Source Plugin using grafana-cli

You can install the Data Source plugin locally in Grafana by following these steps:
```shell
grafana-cli plugins install chaosmeshorg-datasource
```

## Manual installation

As an alternative, you can also install the Data Source plugin locally in Grafana by following these steps:

1. Download the plugin zip package with the following command, or visit <https://github.com/chaos-mesh/datasource/releases> to download the package:

```shell
curl -LO https://github.com/chaos-mesh/datasource/releases/download/v2.1.0/chaosmeshorg-datasource-2.1.0.zip
curl -LO https://github.com/chaos-mesh/datasource/releases/download/v2.2.3/chaosmeshorg-datasource-2.2.3.zip
```

After downloading, extract the plugin to the Grafana plugin directory:

```shell
unzip chaosmeshorg-datasource-2.1.0.zip -d YOUR_PLUGIN_DIR
unzip chaosmeshorg-datasource-2.2.3.zip -d YOUR_PLUGIN_DIR
```

:::tip
Expand Down

0 comments on commit e30874a

Please sign in to comment.