Skip to main content

install

Function install 

Source
pub fn install(
    system: &ActorSystem,
    node_name: impl Into<String>,
) -> Arc<TelemetryExtension>
Expand description

Convenience helper: construct + install a telemetry extension with sensible defaults (1024-deep broadcast bus). Returns the shared Arc so the caller can register exporters or read snapshots.

let sys = ActorSystem::create("gpu-host", Config::empty()).await?;
let _telemetry = atomr_accel_cuda::observability::install(&sys, "gpu-host-1");