Skip to content

Telemetry: a lane on a node sends nothing of its own daemon #287

Closed

Description

@7schmiede

Situation

The daemon in a node's lane container sends no telemetry. A daemon sends to the pools its own state directory is a member of (devstack_node::member::pools(&state_dir()), crates/devstack-daemon/src/telemetry.rs); the lane container has no membership, so its diagnostic lines and gauges never reach the pool's collector.

What the collector does see of such a lane: the requester's remote_lane_* lines (lease, sync, phases, started/stopped) and the node agent's own node_* lines. What it does not see: everything inside the lane — its services' states and start times, builds and candidates, prepare (and, once the store runs on nodes, prepare_store_hit|miss|put), notices, failed requests.

Observed 2026-10-26 with 0.23.0: a lane on the maintainers' node ran and restarted around a node update; the window has its remote_lane_* and node_* lines and not one line of the lane's own daemon.

Why it matters

Constraints

  • Consent is the member's (ADR-0037): the lane's lines may go only where the requester has agreed to send, and the coordinator sets the member from the certificate. The node owner's consent is not the member's.
  • The lane container holds no member key and should not get one (ADR-0027, ADR-0033).

Options

  1. The requester relays them: it already talks to the lane's daemon over the forwarded API; it fetches the lane's diagnostic lines (and gauges) and sends them with its own, labelled with the lane and node. Consent and member identity stay the requester's. Lines of a lane whose requester is offline are lost (or kept bounded in the lane until fetched).
  2. The node agent relays them from the lane's state in the mirror, labelled with the lease's member. Works while the requester sleeps, but sends the member's data on the node's say-so; needs the member's consent passed along with the lease.

Option 1 fits ADR-0037 as it stands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions