diff --git a/docs/4-implementation/swarm/telemetry.md b/docs/4-implementation/swarm/telemetry.md index 5d4f0b41c..09a04f53d 100644 --- a/docs/4-implementation/swarm/telemetry.md +++ b/docs/4-implementation/swarm/telemetry.md @@ -240,9 +240,10 @@ route, so a collector that's up but not listening, or an nginx that doesn't have the route, shows as a failed unit. On a fresh swarm the unit fails at activation, because the collector opens its sockets only once the operator has unsealed the store. A timer, `swarm-otel-sockets-recheck`, starts the unit again -every minute while it is failed, so it turns `active` by itself once the -collector listens. systemd never restarts the unit on its own: a switch would -wait on the pending start for as long as the collector is down. Any status other than those passes, +every minute for as long as the unit stays `failed`, so it turns `active` by +itself once the collector listens. systemd never restarts the unit on its own: +a switch would wait on the pending start for as long as the collector is down. +Any status other than those passes, the collector's 4xx included. A switch leaves a window of about 20 seconds in which nginx and the container are out of step: the container stops before nginx restarts and starts about 18 seconds after it. Senders retry through that window.