Commit 0442a864 by Marcus Efraimsson

tailing grafana logs and temporaily using an older build

parent 53331772
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
client:
url: http://loki:3100/api/prom/push
scrape_configs:
- job_name: system
entry_parser: raw
static_configs:
- targets:
- localhost
labels:
job: varlogs
__path__: /var/log/*log
- job_name: grafana
entry_parser: raw
static_configs:
- targets:
- localhost
labels:
job: grafana
__path__: /var/log/grafana/*log
...@@ -5,7 +5,7 @@ networks: ...@@ -5,7 +5,7 @@ networks:
services: services:
loki: loki:
image: grafana/loki:master image: grafana/loki:master-3e6a75e
ports: ports:
- "3100:3100" - "3100:3100"
command: -config.file=/etc/loki/local-config.yaml command: -config.file=/etc/loki/local-config.yaml
...@@ -13,9 +13,11 @@ services: ...@@ -13,9 +13,11 @@ services:
- loki - loki
promtail: promtail:
image: grafana/promtail:master image: grafana/promtail:master-3e6a75e
volumes: volumes:
- ./docker/blocks/loki/config.yaml:/etc/promtail/docker-config.yaml
- /var/log:/var/log - /var/log:/var/log
- ../data/log:/var/log/grafana
command: command:
-config.file=/etc/promtail/docker-config.yaml -config.file=/etc/promtail/docker-config.yaml
networks: networks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment