cluster/services/ipfs: add blackbox check for gateway
This commit is contained in:
parent
d0ebfa278a
commit
81e9274c77
1 changed files with 6 additions and 1 deletions
|
@ -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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue