TelemetryCommon.psm1

function GetSuccessAsEnumType 
{
    param (
        $result
    )
    if($null -eq $result) {
        return [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+Status]::SKIPPED
    }
    elseif($true -eq $result) {
        return [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+Status]::SUCCESS
    }
    elseif($false -eq $result) {
        return [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+Status]::FAILED
    }
    else {
        throw "Invalid success enum value: $success"
    }

}

function GetErrorCodeAsEnumType
{
    param (
        $code
    )
    if($null -eq $code) 
    {
        return $null
    }
    # string comparisons in switch are case insensitive
    switch ($code){
        "getmocfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::GET_MOC_FAILED }
        "installmocprecheckfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::MOC_PRECHECK_FAILED }
        "installmocfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::INSTALL_MOC_FAILED }
        "createcustomlocationfailed"{ [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::CREATE_CUSTOMLOCATION_FAILED }
        "updatecustomlocationfailed"{ [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::UPDATE_CUSTOMLOCAION_FAILED }
        "deletecustomlocationfailed"{ [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::DELETE_CUSTOMLOCATION_FAILED }
        "getmgmtfailed"{ [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::GET_ARCHCI_FAILED }
        "arbprecheckfailed"{ [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::APPLIANCE_PRECHECK_FAILED }
        "installmgmtprereqfailed"{ [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::INSTALL_HCI_PREREQ_FAILED }
        "installarbfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::INSTALL_ARB_FAILED }
        "deletearbfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::REMOVE_ARB_FAILED }
        "installvmextfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::INSTALL_VMEXT_FAILED }
        "deletevmextfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::REMOVE_VMEXT_FAILED }
        "installhybridaksfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::INSTALL_HYBRIDAKS_FAILED }
        "deletehybridaksfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::REMOVE_HYBRIDAKS_FAILED }
        "deletemgmtprereqfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::REMOVE_HCI_PREREQ_FAILED }
        "deletevmextfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::REMOVE_VMEXT_FAILED }
        "installk8sextfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::INSTALL_K8SEXT_FAILED }
        "deletek8sextfailed" { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::REMOVE_K8SEXT_FAILED }
        default { [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.EventConstants+ErrorCode]::UNKNOWN }
    }
}

Function New-ArcHciTelemetryEventConfig
{
    [OutputType('ArcHciTelemetryEventConfig')]
    [CmdletBinding()]
    param
    (
        [Parameter(Mandatory=$true)]
        [string]
        $correlationId,
        [Parameter(Mandatory=$true)]
        [string]
        $operationName,
        [Parameter(Mandatory=$true)]
        [string]
        $version
    )

    return [PSCustomObject]@{
        PSTypeName = 'ArcHciTelemetryEventConfig'
        CorrelationId = $correlationId
        StartTime = Get-Date
        Result = $true # Event is successful by default
        ErrorCode = $null
        ErrorMessage = $null
        AzRequestId = $null
        Operation = $operationName
        Version = $version
    }
}

Function Set-ArcHciTelemetryEventSkipped
{
    [CmdletBinding()]
    param
    (
        [Parameter(Mandatory=$true)]
        [PSTypeName('ArcHciTelemetryEventConfig')]
        $eventConfig
    )

    $eventConfig.Result = $null
}

Function Set-ArcHciTelemetryEventFailed
{
    [CmdletBinding()]
    param
    (
        [Parameter(Mandatory=$true)]
        [PSTypeName('ArcHciTelemetryEventConfig')]
        $eventConfig,

        [Parameter(Mandatory=$true)]
        [string]
        $code,

        [Parameter(Mandatory=$true)]
        [string]
        $message
    )
    $eventConfig.Result = $false
    $eventConfig.ErrorCode = $code
    $eventConfig.ErrorMessage = $message
}

<#
.SYNOPSIS
Emits the event to telemetry.
 
.PARAMETER RunnerName
The name of the runner.
 
.PARAMETER RunnerResult
The runner result object that is returned by the runner when it completes.
 
.EXAMPLE
EmitArcHciTelemetryEvent -eventConfig $eventConfig
#>

Function EmitArcHciTelemetryEvent
{
    [CmdletBinding()]
    param
    (
        [Parameter(Mandatory=$true)]
        [PSTypeName('ArcHciTelemetryEventConfig')]
        $eventConfig,
        [Parameter(Mandatory=$false)]
        [guid]
        $subscriptionId,
        [Parameter(Mandatory=$false)]
        [string]
        $resourceGroup,
        [Parameter(Mandatory=$false)]
        [string]
        $customLocationId
    )

    $currentTime = Get-Date
    $duration = (New-TimeSpan -Start $eventConfig.StartTime -End $currentTime).TotalMilliseconds
    $resultAsEnum = GetSuccessAsEnumType($eventConfig.Result)
    $errorCodeAsEnum = GetErrorCodeAsEnumType($eventConfig.ErrorCode)

    $telemetryEvent = [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.ArcHciUbercrudTelemetryEvent]::New(
        $eventConfig.CorrelationId,
        $duration,
        $resultAsEnum,
        $eventConfig.Version,
        $eventConfig.Operation,
        $errorCodeAsEnum,
        $eventConfig.ErrorMessage,
        $subscriptionId,
        $resourceGroup,
        $customLocationId
    )
    [Microsoft.AzureStack.ArcHci.Ubercrud.Observability.Events.ArcHciUberCrudTelemetryChannel]::EmitTelemetryEvent($telemetryEvent)
}

Export-ModuleMember -function EmitArcHciTelemetryEvent
Export-ModuleMember -function New-ArcHciTelemetryEventConfig
Export-ModuleMember -function Set-ArcHciTelemetryEventFailed
Export-ModuleMember -function Set-ArcHciTelemetryEventSkipped
# SIG # Begin signature block
# MIIoOAYJKoZIhvcNAQcCoIIoKTCCKCUCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAzlAEGHFN6pNA0
# 46pDkopreKm/0+JXEUiUN++GVrkrJaCCDYUwggYDMIID66ADAgECAhMzAAADri01
# UchTj1UdAAAAAAOuMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMjMxMTE2MTkwODU5WhcNMjQxMTE0MTkwODU5WjB0MQsw
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
# AQD0IPymNjfDEKg+YyE6SjDvJwKW1+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