mirror of
https://github.com/coltoneshaw/CS-Repro-Mattermost.git
synced 2025-12-23 10:01:30 +01:00
Add Promtail and Loki support for viewing Logs in Grafana (#20)
* add promtail loki support * updated images and removed arch directives in docker-compose * fix grafana logs * add restart-grafana make command * clean up enhanced logs dashboard * update both mattermost servers to use the same version * update docker-compose and promtail config to use host path mounts for logs * clean up dashboard for good
This commit is contained in:
@@ -1,17 +1,31 @@
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: mattermost
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://prometheus:9090
|
||||
password:
|
||||
user:
|
||||
database:
|
||||
isDefault: true
|
||||
jsonData:
|
||||
tlsAuth: false
|
||||
tlsAuthWithCACert: false
|
||||
httpMethod: "POST"
|
||||
version: 1
|
||||
editable: true
|
||||
- name: mattermost
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://prometheus:9090
|
||||
password:
|
||||
user:
|
||||
database:
|
||||
isDefault: true
|
||||
jsonData:
|
||||
tlsAuth: false
|
||||
tlsAuthWithCACert: false
|
||||
httpMethod: "POST"
|
||||
version: 1
|
||||
editable: true
|
||||
- name: loki
|
||||
type: loki
|
||||
access: proxy
|
||||
url: http://loki:3100
|
||||
password:
|
||||
user:
|
||||
database:
|
||||
isDefault: false
|
||||
jsonData:
|
||||
tlsAuth: false
|
||||
tlsAuthWithCACert: false
|
||||
httpMethod: "POST"
|
||||
version: 1
|
||||
editable: true
|
||||
|
||||
Reference in New Issue
Block a user