telemetry

package
v0.22.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const ProviderName string = "Microsoft.AKSHCI.MocSdkForGo.Wrapper"
View Source
const WrapperTelemetryVersion string = "v1.0.1"

Variables

This section is empty.

Functions

func CheckElementExists

func CheckElementExists(regexStr *regexp.Regexp, inputStr string) string

Based on moc-pkg This function is used by KeyvaultKeyCreateOrUpdateCV - if a nonempty string is provided, a nonempty string must be returned.

func EmitWrapperTelemetry

func EmitWrapperTelemetry(eventName string, correlationVector string, errorString string, subroutine string, serverName string)

serverName is used when requesting MocVersion info and is NOT to be emitted in telemetry.

func FilterSensitiveData

func FilterSensitiveData(inputStr string) string

Based on moc-pkg

Types

type WrapperEventFields

type WrapperEventFields struct {
	EventName         string
	CorrelationVector string
	FunctionName      string
	Subroutine        string
	ErrorString       string
	MocVersion        string
	MocAgentVersion   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL