Revert "swarm-otel: run in its own network namespace, receivers on unix sockets"
This reverts commit 8aad8db30d.
This commit is contained in:
parent
04214a6afa
commit
65329fb506
6 changed files with 221 additions and 196 deletions
|
|
@ -330,11 +330,10 @@ go there is `deploy.swarm-otel.upstream.signals` (default `[ "metrics" "logs" ]`
|
|||
always get both. It holds
|
||||
the upstream credential, which is why no hive and no agent needs one.
|
||||
|
||||
It runs in a `swarm-otel` container on the hive bridge, in a network
|
||||
namespace of its own. It binds no OTLP port: every receiver (one per hive,
|
||||
the swarm tier's and one per service forwarder) listens on a unix socket in
|
||||
`/run/swarm-otel`, a directory only the gateway's nginx and the container can
|
||||
open, and the gateway forwards to them.
|
||||
It runs in a `swarm-otel` container. Its `swarm.otel.port` defaults to
|
||||
`4319` rather than OTLP's usual `4318`, which the hive tier uses — swarm
|
||||
containers share the host's network namespace, so two collectors on one
|
||||
port is a coin toss at runtime rather than an error at build time.
|
||||
|
||||
Every hive's own collector reaches this one by its gateway name,
|
||||
`swarm.otel.domain` (default `otel.<swarm domain>`) — the same
|
||||
|
|
@ -346,6 +345,7 @@ gateway either way.
|
|||
| Option | When you'd touch it |
|
||||
| ------------------- | --------------------------------------------------------------------------------------- |
|
||||
| `swarm.otel.domain` | Only to rename it — the default already resolves correctly for every hive in the swarm. |
|
||||
| `swarm.otel.port` | Only if something else on the services host already claims `4319`. |
|
||||
|
||||
The `swarm-bao`, `swarm-nats`, `swarm-builder`, `swarm-claude-login`,
|
||||
`swarm-notify-router`, `swarm-review-classifier`, `swarm-ci-runner`, `swarm-grafana`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue