archive: push restic backup and prune metrics, and add a backups dashboard
This commit is contained in:
parent
9ac6024a67
commit
723ce866f1
1 changed files with 1288 additions and 4 deletions
|
|
@ -61,6 +61,13 @@ let
|
|||
restic = cfg.resticPackage;
|
||||
addr = "127.0.0.1:${toString cfg.port}";
|
||||
authGroup = user;
|
||||
# A host without a hive has no receiver on its own bridge; the swarm services
|
||||
# there reach the swarm collector through a forwarder of their own.
|
||||
otlpEndpoint =
|
||||
if hyperhiveCfg.otel.collector.enable then
|
||||
"http://${hyperhiveCfg.network.bridgeIp}:${toString hyperhiveCfg.swarm.hiveOtel.collectorPort}"
|
||||
else
|
||||
null;
|
||||
}
|
||||
// (if useS3 then { inherit (cfg) s3; } else { inherit reposDir; })
|
||||
);
|
||||
|
|
@ -408,6 +415,7 @@ in
|
|||
baoDeploy.package
|
||||
cfg.resticPackage
|
||||
pkgs.coreutils
|
||||
pkgs.curl
|
||||
pkgs.gnugrep
|
||||
pkgs.jq
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue