Browse Source

docs: loki provisioning

Marcus Efraimsson 6 năm trước cách đây
mục cha
commit
29fc1ed77b
1 tập tin đã thay đổi với 18 bổ sung0 xóa
  1. 18 0
      docs/sources/features/datasources/loki.md

+ 18 - 0
docs/sources/features/datasources/loki.md

@@ -113,7 +113,25 @@ apiVersion: 1
 datasources:
   - name: Loki
     type: loki
+    access: proxy
     url: http://localhost:3100
     jsonData:
       maxLines: 1000
 ```
+
+Here's another with basic auth:
+
+```yaml
+apiVersion: 1
+
+datasources:
+  - name: Loki
+    type: loki
+    access: proxy
+    url: http://localhost:3100
+    basicAuth: true
+    basicAuthUser: my_user
+    basicAuthPassword: test_password
+    jsonData:
+      maxLines: 1000
+```