Add job label to promtail journald logs
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m51s

This commit is contained in:
Torjus Håkestad 2025-01-23 19:50:25 +01:00
parent 986e5643e1
commit 8545807dd8
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -21,6 +21,9 @@
job_name = "journal"; job_name = "journal";
journal = { journal = {
json = true; json = true;
labels = {
job = "systemd-journal";
};
}; };
relabel_configs = [ relabel_configs = [
{ {