forked from pub-solar/infra
promtail: use hostName to set label
This commit is contained in:
parent
3b865a688c
commit
bae41b07a8
|
@ -28,7 +28,7 @@
|
|||
max_age = "24h";
|
||||
labels = {
|
||||
job = "systemd-journal";
|
||||
host = "nachtigall";
|
||||
host = config.networking.hostName;
|
||||
};
|
||||
};
|
||||
relabel_configs = [
|
||||
|
|
Loading…
Reference in a new issue