Skip to main content

Module observer

Module observer 

Source
Expand description

Client helpers for daemon-owned session observer subscriptions (#221 Phase 2 / #429).

Mirrors client::telemetry but for event-stream observer payloads (process lifecycle Started/Exited, eventually file/network/process events in Phase 3). The client wraps the three IPC round trips:

Registrations live on the per-session struct on the daemon side, so they survive the IPC connection going away. Events emitted while no consumer is draining the bounded channel are accounted for via SessionObserverStatus::missed_events under DropOldest policy.

Structs§

RemoteObserverSubscription
Outcome of DaemonClient::register_session_observer.
SessionObserverRequest
Request used to register a daemon-managed observer subscription on a session.
SessionObserverStatus
Current daemon-side counters for a registered subscription.

Enums§

SessionObserverBackpressure
Backpressure policy for the daemon-side bounded sink.
SessionObserverKind
Session transport that owns the observed process.