MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / emit_lifecycle

Function emit_lifecycle

crates/openshell-core/src/telemetry.rs:479–493  ·  view source on GitHub ↗
(
    resource: LifecycleResource,
    operation: LifecycleOperation,
    outcome: TelemetryOutcome,
)

Source from the content-addressed store, hash-verified

477fn emit_event(_name: &'static str, _event: Value) {}
478
479pub fn emit_lifecycle(
480 resource: LifecycleResource,
481 operation: LifecycleOperation,
482 outcome: TelemetryOutcome,
483) {
484 emit_event(
485 "openshell_lifecycle_event",
486 json!({
487 "nvidiaSource": SOURCE.as_str(),
488 "resource": resource.as_str(),
489 "operation": operation.as_str(),
490 "outcome": outcome.as_str(),
491 }),
492 );
493}
494
495pub fn emit_provider_lifecycle(
496 operation: LifecycleOperation,

Calls 1

emit_eventFunction · 0.85