From 9a35aaec857197300d28e9f1ded498980f0cad20 Mon Sep 17 00:00:00 2001 From: Damien de Lemeny Date: Mon, 15 Apr 2024 10:07:17 -0500 Subject: [PATCH] Bump 0.4.5, require grafana>=10.0 --- README.md | 17 ++++------------- package-lock.json | 4 ++-- package.json | 2 +- src/plugin.json | 2 +- 4 files changed, 8 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 9c11ae0..0fad46f 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,6 @@ The license for this project is [AGPL-3.0](LICENSE.md), and a [notice](NOTICE.md We recommend Grafana v10.X. -Quickwit 0.6 is compatible with 0.2.x versions only. - Quickwit 0.7 is compatible with 0.3.x versions only. Quickwit 0.8 is compatible with 0.4.x versions only. @@ -31,20 +29,20 @@ Quickwit 0.8 is compatible with 0.4.x versions only. You can either download the plugin manually and unzip it into the plugin directory or use the env variable `GF_INSTALL_PLUGINS` to install it. -### 0.4.1 for Quickwit 0.8 +### 0.4.5 for Quickwit 0.8 Run `grafana-oss` container with the env variable: ```bash -docker run -p 3000:3000 -e GF_INSTALL_PLUGINS="https://github.com/quickwit-oss/quickwit-datasource/releases/download/v0.4.4/quickwit-quickwit-datasource-0.4.4.zip;quickwit-quickwit-datasource" grafana/grafana-oss run +docker run -p 3000:3000 -e GF_INSTALL_PLUGINS="https://github.com/quickwit-oss/quickwit-datasource/releases/download/v0.4.5/quickwit-quickwit-datasource-0.4.5.zip;quickwit-quickwit-datasource" grafana/grafana-oss run ``` Or download the plugin manually and start Grafana ```bash -wget https://github.com/quickwit-oss/quickwit-datasource/releases/download/v0.4.4/quickwit-quickwit-datasource-0.4.4.zip +wget https://github.com/quickwit-oss/quickwit-datasource/releases/download/v0.4.5/quickwit-quickwit-datasource-0.4.5.zip mkdir -p plugins -unzip quickwit-quickwit-datasource-0.4.4.zip -d plugins/quickwit-quickwit-datasource-0.4.4 +unzip quickwit-quickwit-datasource-0.4.5.zip -d plugins/quickwit-quickwit-datasource-0.4.5 docker run -p 3000:3000 -e GF_PATHS_PLUGINS=/data/plugins -v ${PWD}/plugins:/data/plugins grafana/grafana-oss run ``` @@ -65,13 +63,6 @@ unzip quickwit-quickwit-datasource-0.3.2.zip -d plugins/quickwit-quickwit-dataso docker run -p 3000:3000 -e GF_PATHS_PLUGINS=/data/plugins -v ${PWD}/plugins:/data/plugins grafana/grafana-oss run ``` -### 0.2.4 for Quickwit 0.6 - - -```bash -docker run -p 3000:3000 -e GF_INSTALL_PLUGINS="https://github.com/quickwit-oss/quickwit-datasource/releases/download/v0.2.4/quickwit-quickwit-datasource-0.2.4.zip;quickwit-quickwit-datasource" grafana/grafana-oss run -``` - ## Additional instructions If you are running a local Quickwit instance on Linux, add the `--network=host` argument to the `docker run` command. This will allow Grafana to access services on the host machine. You can later use `http://localhost:7280/api/v1` in the Quickwit API URL when configuring the data source. diff --git a/package-lock.json b/package-lock.json index 2ac4cd2..bfb7f14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "quickwit-datasource", - "version": "0.4.4", + "version": "0.4.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "quickwit-datasource", - "version": "0.4.4", + "version": "0.4.5", "license": "AGPL-3.0", "dependencies": { "@emotion/css": "^11.11", diff --git a/package.json b/package.json index 8c750bb..79e4c70 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "quickwit-datasource", - "version": "0.4.4", + "version": "0.4.5", "description": "Quickwit datasource", "scripts": { "build": "webpack -c ./.config/webpack/webpack.config.ts --env production", diff --git a/src/plugin.json b/src/plugin.json index bccf1f4..ed20de5 100644 --- a/src/plugin.json +++ b/src/plugin.json @@ -57,7 +57,7 @@ "updated": "%TODAY%" }, "dependencies": { - "grafanaDependency": ">=9.5", + "grafanaDependency": ">=10.0", "plugins": [] } }