modules/monitoring: restart exporters slowly
This commit is contained in:
parent
cf9afa3042
commit
1a18788217
1 changed files with 8 additions and 2 deletions
|
@ -31,8 +31,14 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
systemd.services.prometheus-node-exporter.after = [ "hyprspace.service" "sys-devices-virtual-net-hyprspace.device" ];
|
||||
systemd.services.prometheus-jitsi-exporter.after = [ "hyprspace.service" "sys-devices-virtual-net-hyprspace.device" ];
|
||||
systemd.services.prometheus-node-exporter = {
|
||||
after = [ "hyprspace.service" "sys-devices-virtual-net-hyprspace.device" ];
|
||||
serviceConfig.RestartSec = "10s";
|
||||
};
|
||||
systemd.services.prometheus-jitsi-exporter = {
|
||||
after = [ "hyprspace.service" "sys-devices-virtual-net-hyprspace.device" ];
|
||||
serviceConfig.RestartSec = "10s";
|
||||
};
|
||||
|
||||
systemd.services.promtail = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
|
Loading…
Reference in a new issue