1
0
Fork 0
forked from pub-solar/infra

promtail: use hostName to set label

This commit is contained in:
teutat3s 2024-06-06 19:29:42 +02:00
parent 3b865a688c
commit bae41b07a8
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -28,7 +28,7 @@
max_age = "24h";
labels = {
job = "systemd-journal";
host = "nachtigall";
host = config.networking.hostName;
};
};
relabel_configs = [