1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-21 21:31:55 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
Evangelos Foutras
578b781966
Capitalize the handler name in handler invocations
Fixes: 26f289b72b ("Capitalize the first letter of all task names")
2022-08-29 21:46:39 +03:00
Evangelos Foutras
26f289b72b
Capitalize the first letter of all task names
ansible-lint 6.5.0 complains about:

  name: All names should start with an
        uppercase letter. (name[casing])
2022-08-23 06:57:13 +03:00
Evangelos Foutras
a9e0790f53
Remove the three dashes from all YAML documents
These are used to signal the start of the document in a stream of many
documents. As Ansible only supports one YAML document per file this is
unnecessary. About a third of our YAML documents already lacked these.
2022-06-08 14:35:45 +03:00
Kristian Klausen
563c3c5c19
loki/promtail: Use a bearer token instead of basic auth
It simplifies it a bit.
2021-07-08 02:58:58 +02:00
Kristian Klausen
032763987c Send promtail logs and scrap its metrics over WireGuard 2021-07-06 22:21:41 +00:00
Kristian Klausen
b94929b5bc
promtail: Scrap pacman.log 2021-06-05 18:12:16 +02:00
Jelle van der Waa
8eca415cfb
Remove the unit label to avoid large amounts of chunks 2021-04-19 00:03:10 +02:00
Kristian Klausen
754686de82 promtail: Give access to the logrotated nginx access.log files
The files are initially created by nginx as 0644/http:root, but when
logrotate rotates the files it creates the new files as 0640/http:log,
which promtail can't read.

Fix the issue by adding the log group as a supplementary group.
2021-04-09 20:13:04 +00:00
Jelle van der Waa
f7dc2802c5
Allow promtail to be scraped by prometheus 2021-04-08 21:01:02 +02:00
Kristian Klausen
b70d04fa5c
Send the nginx logs to Loki
A extra access_log entry was added with the following commands:
$ cd roles
$ grep -lr access_log | xargs -P 1 -n 1 sed -i '/access_log/ s/\(.*\)\( \)\(\(reduced\|main\);$\)/\1 \3\n\1.json json_\3/'
2021-04-08 20:33:43 +02:00
Kristian Klausen
7235e726d6
Implement centralized logging
Fix #263
2021-04-08 20:33:43 +02:00