ship the cache host init units' journal through the hive collector
This commit is contained in:
parent
ca194f5c91
commit
28be594f79
1 changed files with 43 additions and 3 deletions
|
|
@ -233,6 +233,14 @@ in
|
|||
|
||||
services.hyperhive.gateway.localNames = [ atticCfg.domain ];
|
||||
|
||||
# The init units' journal reaches the log store through the hive collector.
|
||||
# A host that also runs the swarm collector ships its whole journal already
|
||||
# (./swarm-otel.nix), so naming them there would send each line twice.
|
||||
services.hyperhive.otel.journalUnits = lib.optionals (!hyperhiveCfg.deploy.swarm-otel.enable) [
|
||||
"swarm-bao-attic-secret.service"
|
||||
"swarm-bao-attic-tokens.service"
|
||||
];
|
||||
|
||||
# This host serves the vhost, and the host's own resolver finds the name.
|
||||
services.hyperhive.gateway.enable = lib.mkDefault true;
|
||||
services.hyperhive.gateway.dns.enable = lib.mkDefault true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue