Browse Source

docs: add mssql provisioning example

Marcus Efraimsson 7 năm trước cách đây
mục cha
commit
9c492bd774
1 tập tin đã thay đổi với 20 bổ sung0 xóa
  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
 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!"
+
+```