(
operation: LifecycleOperation,
outcome: TelemetryOutcome,
provider_profile: ProviderProfile,
)
| 493 | } |
| 494 | |
| 495 | pub fn emit_provider_lifecycle( |
| 496 | operation: LifecycleOperation, |
| 497 | outcome: TelemetryOutcome, |
| 498 | provider_profile: ProviderProfile, |
| 499 | ) { |
| 500 | emit_event( |
| 501 | "openshell_provider_lifecycle_event", |
| 502 | json!({ |
| 503 | "nvidiaSource": SOURCE.as_str(), |
| 504 | "operation": operation.as_str(), |
| 505 | "outcome": outcome.as_str(), |
| 506 | "providerProfile": provider_profile.as_str(), |
| 507 | }), |
| 508 | ); |
| 509 | } |
| 510 | |
| 511 | pub fn emit_sandbox_create( |
| 512 | outcome: TelemetryOutcome, |