cluster/services/ipfs: add blackbox check for gateway

This commit is contained in:
Max Headroom 2023-06-05 22:34:20 +02:00
parent d0ebfa278a
commit 81e9274c77

View file

@ -1,4 +1,4 @@
{ config, depot, lib, ... }: { config, depot, lib, tools, ... }:
{ {
hostLinks = lib.genAttrs config.services.ipfs.nodes.node (name: let hostLinks = lib.genAttrs config.services.ipfs.nodes.node (name: let
@ -44,4 +44,9 @@
remote-api = ./remote-api.nix; remote-api = ./remote-api.nix;
}; };
}; };
monitoring.blackbox.targets.ipfs-gateway = {
address = "https://bafybeiczsscdsbs7ffqz55asqdf3smv6klcw3gofszvwlyarci47bgf354.ipfs.${tools.meta.domain}/";
module = "https2xx";
};
} }