From 04b3c43aecc5ec32d47abd5705b30b4ff1fe0d0d Mon Sep 17 00:00:00 2001 From: javier Date: Thu, 20 Jun 2024 13:43:03 +0200 Subject: [PATCH] Improved provisioning instructions --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e7d055..a53400a 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,15 @@ Grafana’s provisioning system. To read about how it works, including all the settings that you can set for this data source, refer to [Provisioning Grafana data sources](https://grafana.com/docs/grafana/latest/administration/provisioning/#data-sources). -Here are some provisioning examples for this data source using basic authentication: +Note that the plugin must be previously installed. If you +are using Docker and want to automate installation, you can set the [GF_INSTALL_PLUGINS environment +variable](https://grafana.com/docs/grafana/latest/setup-grafana/configure-docker/#install-plugins-in-the-docker-container) + +```bash +docker run -p 3000:3000 -e GF_INSTALL_PLUGINS=questdb-questdb-datasource grafana/grafana-oss +``` + +This is an example provisioning file for this data source using the default configuration for QuestDB Open Source. ```yaml apiVersion: 1 @@ -69,6 +77,9 @@ datasources: # tlsCACert: ``` +If you are using QuestDB Enterprise and have enabled TLS, you would need to change +`tlsMode: require` in the example above. + ## Building queries The query editor allows you to query QuestDB to return time series or