Watch
0
0
Fork
You've already forked hyperhive
0

telemetry: say the recheck timer acts while the unit stays failed

The prose lint flags 'it is failed' as passive voice and 'it is' as a
contraction candidate.
This commit is contained in:
maia 2026-11-24 16:46:31 +01:00
commit 38296934e3

View file

@ -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 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 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 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 every minute for as long as the unit stays `failed`, so it turns `active` by
collector listens. systemd never restarts the unit on its own: a switch would itself once the collector listens. systemd never restarts the unit on its own:
wait on the pending start for as long as the collector is down. Any status other than those passes, 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 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 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. restarts and starts about 18 seconds after it. Senders retry through that window.