From f0f0096159dd26533574e9099e6bc8cfbb4a8c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Zi=C3=B3=C5=82kowski?= <62351083+MA3CIN@users.noreply.github.com> Date: Thu, 10 Aug 2023 10:19:07 +0200 Subject: [PATCH 1/2] Include grafana-cli in plugin installation guide Signed-off-by: MA3CIN --- .../version-2.6.1/use-grafana-data-source.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/versioned_docs/version-2.6.1/use-grafana-data-source.md b/versioned_docs/version-2.6.1/use-grafana-data-source.md index a9cf5bc2..66a74e1c 100644 --- a/versioned_docs/version-2.6.1/use-grafana-data-source.md +++ b/versioned_docs/version-2.6.1/use-grafana-data-source.md @@ -6,14 +6,20 @@ 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 to download the package: From 477fa20dfa5324250e55486d8541095a6c4fccff Mon Sep 17 00:00:00 2001 From: MA3CIN Date: Thu, 10 Aug 2023 10:26:43 +0200 Subject: [PATCH 2/2] bump release version to 2.2.3 Signed-off-by: MA3CIN --- docs/use-grafana-data-source.md | 18 ++++++++++++------ .../version-2.6.1/use-grafana-data-source.md | 4 ++-- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/use-grafana-data-source.md b/docs/use-grafana-data-source.md index a9cf5bc2..6e929dee 100644 --- a/docs/use-grafana-data-source.md +++ b/docs/use-grafana-data-source.md @@ -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 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 diff --git a/versioned_docs/version-2.6.1/use-grafana-data-source.md b/versioned_docs/version-2.6.1/use-grafana-data-source.md index 66a74e1c..6e929dee 100644 --- a/versioned_docs/version-2.6.1/use-grafana-data-source.md +++ b/versioned_docs/version-2.6.1/use-grafana-data-source.md @@ -24,13 +24,13 @@ As an alternative, you can also install the Data Source plugin locally in Grafan 1. Download the plugin zip package with the following command, or visit 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