mirror of
https://github.com/coltoneshaw/CS-Repro-Mattermost.git
synced 2025-12-23 18:11:34 +01:00
* 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
42 lines
745 B
YAML
42 lines
745 B
YAML
server:
|
|
http_listen_port: 9080
|
|
grpc_listen_port: 0
|
|
|
|
positions:
|
|
filename: /tmp/positions.yaml
|
|
|
|
clients:
|
|
- url: http://loki:3100/loki/api/v1/push
|
|
|
|
scrape_configs:
|
|
- job_name: mmlogs-1
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: mmlogs-1
|
|
__path__: /logs-node-1/*.log
|
|
- job_name: mmlogs-2
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: mmlogs-2
|
|
__path__: /logs-node-2/*.log
|
|
- job_name: mmlogs-local-1
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: mmlogs-local-1
|
|
__path__: /logs-local-1/*.log
|
|
- job_name: mmlogs-local-2
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: mmlogs-local-2
|
|
__path__: /logs-local-2/*.log
|
|
|
|
|