logging: add promtail + loki + grafana #190
1 changed files with 1 additions and 2 deletions
|
@ -16,13 +16,13 @@ promtail_version: "3.0.0" # TODO renovate
|
|||
promtail_loki_server_url: "http://docker10.mgrote.net:3100" # TODO passt das für blocky?
|
||||
promtail_user_additional_groups: root
|
||||
promtail_config_expand_env: true
|
||||
promtail_extra_args: "-client.external-labels=hostname=$(HOSTNAME)"
|
||||
promtail_config_scrape_configs:
|
||||
- job_name: system
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
host: ${HOSTNAME}
|
||||
job: varlogs
|
||||
__path__: /var/log/**/**
|
||||
# TODO add docker
|
||||
|
@ -35,7 +35,6 @@ dotfiles:
|
|||
home: /root
|
||||
dotfiles_repo_url: https://git.mgrote.net/mg/dotfiles
|
||||
dotfiles_vim_vundle_repo_url: "https://{{ ansible_forgejo_user | urlencode }}:{{ ansible_forgejo_user_pass | urlencode }}@git.mgrote.net/mirrors/Vundle.vim.git"
|
||||
|
||||
### mgrote_netplan
|
||||
netplan_configure: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue