mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:22:29 +08:00
Merge pull request #16210 from grafana/16187_docs
docs: loki provisioning
This commit is contained in:
@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user