[OPB-37] adding loki log collector

upgrading to newer abstracto version
adding some info to readme
This commit is contained in:
Sheldan
2021-08-09 23:42:23 +02:00
parent 0380720ec8
commit 3f959f3bbb
15 changed files with 173 additions and 15 deletions

View File

@@ -0,0 +1,4 @@
ARG PROMTAIL_VERSION
FROM grafana/promtail:${PROMTAIL_VERSION}
MAINTAINER Sheldan
ADD promtail.yaml /mnt/config/promtail-config.yaml

View File

@@ -0,0 +1,17 @@
server:
disable: true
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
scrape_configs:
- job_name: system
static_configs:
- targets:
- localhost
labels:
job: oneplus-bot-logs
__path__: /logs/*.log