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:
DaemonClient::register_session_observerDaemonClient::unregister_session_observerDaemonClient::get_session_observer_status
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§
- Remote
Observer Subscription - Outcome of
DaemonClient::register_session_observer. - Session
Observer Request - Request used to register a daemon-managed observer subscription on a session.
- Session
Observer Status - Current daemon-side counters for a registered subscription.
Enums§
- Session
Observer Backpressure - Backpressure policy for the daemon-side bounded sink.
- Session
Observer Kind - Session transport that owns the observed process.