diff --git a/morph/lib/storage.nix b/morph/lib/storage.nix index 1fd8c26ce3db81ae405025d97abe6068ce2a6903..60e80b8ba5538048a339a4464034041c4ee71dcd 100644 --- a/morph/lib/storage.nix +++ b/morph/lib/storage.nix @@ -46,6 +46,21 @@ in { services.private-storage.monitoring.exporters.node.enable = true; services.private-storage.monitoring.exporters.tahoe.enable = true; + services.private-storage.monitoring.exporters.promtail.enable = true; + services.private-storage.monitoring.exporters.promtail.extraScrapeConfigs = [ + { + job_name = "tahoe-corruption-advisories"; + static_configs = [ + { + targets = [ "localhost" ]; + labels = { + job = "tahoe-corruption-advisories"; + __path__ = "/storage/corruption-advisories/*"; + }; + } + ]; + } + ]; services.private-storage.borgbackup.enable = true;