mirror of
https://github.com/coltoneshaw/CS-Repro-Mattermost.git
synced 2025-12-23 18:11:34 +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:
10
Makefile
10
Makefile
@@ -36,7 +36,7 @@ run:
|
||||
|
||||
run-core:
|
||||
@echo "Starting the core services... hang in there."
|
||||
@docker-compose up -d postgres openldap prometheus grafana elasticsearch mattermost keycloak mitmproxy
|
||||
@docker-compose up -d postgres openldap prometheus grafana elasticsearch mattermost keycloak loki promtail
|
||||
|
||||
run-db-replicas:
|
||||
@echo "Starting with replicas. Hang in there..."
|
||||
@@ -93,6 +93,14 @@ restart-mattermost:
|
||||
@docker start cs-repro-mattermost
|
||||
@make check-mattermost
|
||||
|
||||
restart-grafana:
|
||||
@echo "Restarting Grafana container"
|
||||
@docker stop cs-repro-grafana
|
||||
@wait
|
||||
@echo "Starting Grafana container"
|
||||
@docker start cs-repro-grafana
|
||||
@echo "Grafana restarted"
|
||||
|
||||
reset:
|
||||
@echo "Resetting..."
|
||||
@make delete-data
|
||||
|
||||
Reference in New Issue
Block a user