Skip to content

Commit

Permalink
Improved provisioning instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
javier committed Jun 20, 2024
1 parent 50e5e17 commit 04b3c43
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -69,6 +77,9 @@ datasources:
# tlsCACert: <string>
```

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
Expand Down

0 comments on commit 04b3c43

Please sign in to comment.