docs: add mssql provisioning example

This commit is contained in:
Marcus Efraimsson 2018-04-13 15:53:45 +02:00
parent 428d4b0dbf
commit 9c492bd774
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A

View File

@ -529,3 +529,23 @@ EXEC dbo.sp_test_datetime @from, @to
Time series queries should work in alerting conditions. Table formatted queries are not yet supported in alert rule Time series queries should work in alerting conditions. Table formatted queries are not yet supported in alert rule
conditions. conditions.
## Configure datasource with provisioning
It's now possible to configure datasources using config files with Grafanas provisioning system. You can read more about how it works and all the settings you can set for datasources on the [provisioning docs page](/administration/provisioning/#datasources)
Here are some provisioning examples for this datasource.
```yaml
apiVersion: 1
datasources:
- name: MSSQL
type: mssql
url: localhost:1433
database: grafana
user: grafana
secureJsonData:
password: "Password!"
```