ship the cache host init units' journal through the hive collector
This commit is contained in:
parent
ca194f5c91
commit
28be594f79
2 changed files with 43 additions and 3 deletions
|
|
@ -377,6 +377,8 @@ this change removed them in favour of the log line.
|
|||
The hive tier's own collector runs a `journald` receiver scoped to the units
|
||||
in `services.hyperhive.otel.journalUnits`: `hive-c0re.service`, plus
|
||||
`squid.service` and `squid-selfcheck.service` (see [Egress proxy](../networking/network.md#egress-proxy-squid)).
|
||||
A host that runs the cache without the swarm collector adds `swarm-bao-attic-secret.service`
|
||||
and `swarm-bao-attic-tokens.service`.
|
||||
No bind mount is needed. Unlike an agent's journal, this collector already
|
||||
shares a filesystem with the units it reads, because it's a host systemd
|
||||
service rather than a container. It forwards the crash log line alongside the
|
||||
|
|
|
|||
|
|
@ -453,8 +453,11 @@ file to copy. The builder pushes green builds to it. How it works, and the
|
|||
external alternative, are in [`builder.md`](builder.md#binary-cache).
|
||||
|
||||
The container forwards atticd's journal to the swarm collector like the other
|
||||
service containers (see [Telemetry collector](#telemetry-collector-otel)). The two host units' lines
|
||||
stay in the host's journal.
|
||||
service containers (see [Telemetry collector](#telemetry-collector-otel)). The two host
|
||||
units' lines reach the log store too: through the hive collector's journal
|
||||
allow-list on a hive host, or through the swarm collector's whole-journal
|
||||
receiver where the host runs that. A host with neither keeps them in its own
|
||||
journal.
|
||||
|
||||
### CI metrics
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue