Skip to content

Commit c95cec7

Browse files
authoredJun 20, 2024
Merge pull request #103 from questdb/jv/add_env_variable_for_provisioning
Improved provisioning instructions
2 parents 50e5e17 + 4302924 commit c95cec7

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed
 

‎README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,15 @@ Grafana’s provisioning system. To read about how it works, including all the
4747
settings that you can set for this data source, refer to [Provisioning Grafana
4848
data sources](https://grafana.com/docs/grafana/latest/administration/provisioning/#data-sources).
4949

50-
Here are some provisioning examples for this data source using basic authentication:
50+
Note that the plugin must be previously installed. If you
51+
are using Docker and want to automate installation, you can set the [GF_INSTALL_PLUGINS environment
52+
variable](https://grafana.com/docs/grafana/latest/setup-grafana/configure-docker/#install-plugins-in-the-docker-container)
53+
54+
```bash
55+
docker run -p 3000:3000 -e GF_INSTALL_PLUGINS=questdb-questdb-datasource grafana/grafana-oss
56+
```
57+
58+
This is an example provisioning file for this data source using the default configuration for QuestDB Open Source.
5159

5260
```yaml
5361
apiVersion: 1
@@ -69,6 +77,9 @@ datasources:
6977
# tlsCACert: <string>
7078
```
7179

80+
If you are using QuestDB Enterprise and have enabled TLS, you would need to change
81+
`tlsMode: require` in the example above.
82+
7283
## Building queries
7384

7485
The query editor allows you to query QuestDB to return time series or

‎src/selectors.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const Components = {
6060
TlsMode: {
6161
label: 'TLS/SSL Mode',
6262
tooltip:
63-
'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".',
63+
'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".',
6464
placeholder: 'TLS/SSL Mode',
6565
},
6666
TlsMethod: {

0 commit comments

Comments
 (0)
Failed to load comments.