logging: add promtail + loki + grafana #190
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ promtail_config_scrape_configs:
|
|||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
host: {{ ansible_fqdn }}
|
||||
host: "{{ ansible_fqdn }}"
|
||||
job: varlogs
|
||||
__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
|
||||
|
|
Loading…
Reference in a new issue