modules/monitoring: restart exporters slowly

This commit is contained in:
Max Headroom 2022-06-18 19:47:02 +02:00
parent cf9afa3042
commit 1a18788217

View file

@ -31,8 +31,14 @@ in
}; };
}; };
systemd.services.prometheus-node-exporter.after = [ "hyprspace.service" "sys-devices-virtual-net-hyprspace.device" ]; systemd.services.prometheus-node-exporter = {
systemd.services.prometheus-jitsi-exporter.after = [ "hyprspace.service" "sys-devices-virtual-net-hyprspace.device" ]; 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 = { systemd.services.promtail = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];