service urls carry no gateway port, httpsPort is listen-only
This commit is contained in:
parent
4d9b7e0ca9
commit
19680a8b78
25 changed files with 105 additions and 143 deletions
|
|
@ -123,14 +123,10 @@ let
|
|||
# The container's journal forwarder pushes to its own receiver on the swarm
|
||||
# collector, the route `serviceProducers.hive-matrix` in
|
||||
# ./swarm-otel-service.nix declares, as a client of its own rather than the
|
||||
# homeserver login's. The port suffix is elided on 443, as in
|
||||
# ./swarm-bao.nix. It reads its client secret with matrix-ctl's identity,
|
||||
# homeserver login's. It reads its client secret with matrix-ctl's identity,
|
||||
# bound in above: one identity for the whole container.
|
||||
forwarderClientId = cfg.otel.clientId;
|
||||
gatewayPortSuffix = lib.optionalString (
|
||||
gatewayCfg.httpsPort != 443
|
||||
) ":${toString gatewayCfg.httpsPort}";
|
||||
forwarderEndpoint = "https://${config.services.hyperhive.swarm.otel.domain}${gatewayPortSuffix}/hive-matrix";
|
||||
forwarderEndpoint = "https://${config.services.hyperhive.swarm.otel.domain}/hive-matrix";
|
||||
# Loopback in the container's own netns, and distinct from the other service
|
||||
# containers' forwarders all the same.
|
||||
forwarderTelemetryPort = 8899;
|
||||
|
|
|
|||
Loading…
Reference in a new issue