Browse Source

docs: add mssql provisioning example

Marcus Efraimsson 7 years ago
parent
commit
9c492bd774
1 changed files with 20 additions and 0 deletions
  1. 20 0
      docs/sources/features/datasources/mssql.md

+ 20 - 0
docs/sources/features/datasources/mssql.md

@@ -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!"
+
+```