Expand description
The mesh agent actor manages procs in ProcMeshes.
Structs§
- Actor
Spec - Actor spec.
- Actor
State - Actor state.
- GetProc
- A handler to get a clone of the proc managed by this agent. This is used to obtain the local proc from a host mesh.
- NewClient
Instance - A local handler to get a new client instance on the proc. This is used to create root client instances.
- Proc
Agent - A mesh agent is responsible for managing procs in a [
ProcMesh].
Constants§
- PROC_
AGENT_ ACTOR_ NAME - Actor name used when spawning the proc agent on user procs.
Statics§
- MESH_
ORPHAN_ TIMEOUT - Whether to self kill actors, procs, and hosts whose owner is not
reachable.
Nonedisables orphan cleanup entirely;Some(d)sets the keepalive expiry tod. - PROCESS_
MEMORY_ METRIC_ INTERVAL - Interval at which each ProcAgent republishes introspection
on a periodic timer and emits the
process.memory.rss_bytes/process.memory.vm_bytesScuba/OTLP gauges. Linux only — has no effect on other platforms.Duration::ZEROdisables the periodic timer (gauges then never fire); non-periodic republishes (boot, post-spawn, supervision-event coalesce) still publish introspect attrs but do not emit gauges.
Traits§
- GetProc
Client - The custom client trait for this message type.
- GetProc
Handler - The custom handler trait for this message type.
- NewClient
Instance Client - The custom client trait for this message type.
- NewClient
Instance Handler - The custom handler trait for this message type.