logging: add promtail + loki + grafana #190

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

View file

@ -15,12 +15,15 @@ ansible_forgejo_user_pass: "{{ lookup('viczem.keepass.keepass', 'user_setup_forg
promtail_version: "3.0.0" # TODO renovate promtail_version: "3.0.0" # TODO renovate
promtail_loki_server_url: "http://docker10.mgrote.net:3100" # TODO passt das für blocky? promtail_loki_server_url: "http://docker10.mgrote.net:3100" # TODO passt das für blocky?
promtail_user_additional_groups: root promtail_user_additional_groups: root
promtail_config_expand_env: true
promtail_extra_args:
promtail_config_scrape_configs: promtail_config_scrape_configs:
- job_name: system - job_name: system
static_configs: static_configs:
- targets: - targets:
- localhost - localhost
labels: labels:
host: ${hostname}
job: varlogs job: varlogs
__path__: /var/log/**/** __path__: /var/log/**/**
# TODO add docker # TODO add docker