logging: add promtail + loki + grafana #190

Closed
mg wants to merge 46 commits from loki into master
Showing only changes of commit 678751c449 - Show all commits

View file

@ -21,7 +21,7 @@ promtail_config_scrape_configs:
- targets: - targets:
- localhost - localhost
labels: labels:
host: {{ ansible_fqdn }} host: "{{ ansible_fqdn }}"
job: varlogs job: varlogs
__path__: /var/log/**/** __path__: /var/log/**/**
# TODO add docker und lokale logs wenn sie cniht in /var/log liegen: https://ruanbekker.medium.com/logging-with-docker-promtail-and-grafana-loki-d920fd790ca8 # TODO add docker und lokale logs wenn sie cniht in /var/log liegen: https://ruanbekker.medium.com/logging-with-docker-promtail-and-grafana-loki-d920fd790ca8