mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(monitoring): more journald labels
This commit is contained in:
parent
7bcc75c059
commit
9d048f0897
1 changed files with 9 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ in {
|
|||
{
|
||||
job_name = "${systemConfig.name}-journald";
|
||||
journal = {
|
||||
json = true;
|
||||
#json = true;
|
||||
max_age = "${toString (24 * 7)}h";
|
||||
labels = mkMerge [
|
||||
{
|
||||
|
|
@ -50,6 +50,14 @@ in {
|
|||
source_labels = ["__journal_syslog_identifier"];
|
||||
target_label = "syslog_identifier";
|
||||
}
|
||||
{
|
||||
source_labels = ["__journal_priority_keyword"];
|
||||
target_label = "priority_keyword";
|
||||
}
|
||||
{
|
||||
source_labels = ["__journal_priority"];
|
||||
target_label = "priority";
|
||||
}
|
||||
];
|
||||
}
|
||||
(mkIf nginx.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue