Skip to content

Commit

Permalink
Merge pull request #103 from questdb/jv/add_env_variable_for_provisio…
Browse files Browse the repository at this point in the history
…ning

Improved provisioning instructions
  • Loading branch information
insmac authored Jun 20, 2024
2 parents 50e5e17 + 4302924 commit c95cec7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion src/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const Components = {
TlsMode: {
label: 'TLS/SSL Mode',
tooltip:
'This option determines whether or with what priority a secure TLS/SSL TCP/IP connection will be negotiated with the server. For QuestDB Cloud, use "require". For self-hosted QuestDB, use "disable".',
'This option determines whether or with what priority a secure TLS/SSL TCP/IP connection will be negotiated with the server. For QuestDB Enterprise, use "require". For self-hosted QuestDB, use "disable".',
placeholder: 'TLS/SSL Mode',
},
TlsMethod: {
Expand Down

0 comments on commit c95cec7

Please sign in to comment.