Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include grafana-cli in plugin installation guide #396

Merged
merged 2 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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