diff --git a/cluster/services/monitoring/client.nix b/cluster/services/monitoring/client.nix index 739fcac..15aaa87 100644 --- a/cluster/services/monitoring/client.nix +++ b/cluster/services/monitoring/client.nix @@ -1,4 +1,4 @@ -{ cluster, config, lib, ... }: +{ cluster, lib, ... }: let myNode = cluster.config.vars.mesh.${cluster.config.vars.hostName}; @@ -6,8 +6,6 @@ let source_labels = [ from ]; target_label = to; }; - - hasJitsi = lib.mkIf config.services.jitsi-meet.enable; in { services.journald.extraConfig = "Storage=volatile"; @@ -19,22 +17,12 @@ in { "systemd" ]; }; - - jitsi = hasJitsi { - enable = true; - listenAddress = myNode.meshIp; - interval = "60s"; - }; }; systemd.services.prometheus-node-exporter = { after = [ "wireguard-wgmesh.service" ]; serviceConfig.RestartSec = "10s"; }; - systemd.services.prometheus-jitsi-exporter = hasJitsi { - after = [ "wireguard-wgmesh.service" ]; - serviceConfig.RestartSec = "10s"; - }; services.grafana-agent = { enable = true; diff --git a/cluster/services/monitoring/server.nix b/cluster/services/monitoring/server.nix index 3ed6fd0..bc7ac65 100644 --- a/cluster/services/monitoring/server.nix +++ b/cluster/services/monitoring/server.nix @@ -103,15 +103,6 @@ in targets = [ "${host.meshIp}:9100" ]; labels.instance = name; }); - } - { - job_name = "jitsi"; - static_configs = [ - { - targets = [ "${cluster.config.vars.mesh.prophet.meshIp}:9700" ]; - labels.instance = "meet.${domain}"; - } - ]; } { job_name = "ipfs";