otel: finish the agent collector name in option and network docs
The otel enable description and the exposeHostPorts example in network.md still described agents dialing a bridge address. Rewrap the two long lines the earlier edit left.
This commit is contained in:
parent
d4e20803ec
commit
b66a09f65b
3 changed files with 18 additions and 13 deletions
|
|
@ -41,11 +41,12 @@ destination in its own right. With both, telemetry goes to both. See
|
|||
|
||||
**Telemetry leaves a hive exactly one way: through the collector that
|
||||
`enable` starts on the host.** Agents never talk to `endpoint` themselves —
|
||||
they export unauthenticated to a bridge address only their own containers can
|
||||
reach. They dial it as `http://hive-collector.<swarm domain>:<collector port>`,
|
||||
a name identical on every hive, which each hive's own dnsmasq
|
||||
answers with its bridge IP, so an agent's build carries no hive-specific
|
||||
address. The otel module opens that port on the bridge itself. That collector forwards to the swarm's
|
||||
they export unauthenticated to a collector address only their own containers
|
||||
can reach. They dial it as
|
||||
`http://hive-collector.<swarm domain>:<collector port>`, a name identical on
|
||||
every hive, which each hive's own dnsmasq answers with its bridge IP, so an
|
||||
agent's build carries no hive-specific address. The otel module opens that
|
||||
port on the bridge itself. That collector forwards to the swarm's
|
||||
([`swarm/services.md`](../swarm/services.md#telemetry-collector-otel)), the
|
||||
single process holding the upstream credential and the only writer to the
|
||||
swarm's stores. No agent holds a copy, and neither does the hive.
|
||||
|
|
|
|||
Loading…
Reference in a new issue