events

package
v1.24.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package events provides definitions and functions related to the definition of telemetry events.

Index

Constants

View Source
const (
	ExtensionRunEvent     = "ext.run"
	ExtensionInstallEvent = "ext.install"
)

Extension related events.

View Source
const (
	// CopilotInitializeEvent tracks the agent initialization flow (model/reasoning config).
	CopilotInitializeEvent = "copilot.initialize"

	// CopilotSessionEvent tracks session creation or resumption.
	CopilotSessionEvent = "copilot.session"
)

Copilot agent related events.

View Source
const (
	ArmDeploySubscriptionEvent       = "arm.deploy.subscription"
	ArmDeployResourceGroupEvent      = "arm.deploy.resourcegroup"
	ArmStackDeploySubscriptionEvent  = "arm.stack.deploy.subscription"
	ArmStackDeployResourceGroupEvent = "arm.stack.deploy.resourcegroup"
	ArmWhatIfSubscriptionEvent       = "arm.whatif.subscription"
	ArmWhatIfResourceGroupEvent      = "arm.whatif.resourcegroup"
	ArmValidateSubscriptionEvent     = "arm.validate.subscription"
	ArmValidateResourceGroupEvent    = "arm.validate.resourcegroup"
)

ARM deployment events track provisioning, validation, and preview operations.

View Source
const (
	ContainerCredentialsEvent = "container.credentials"
	ContainerPublishEvent     = "container.publish"
	ContainerRemoteBuildEvent = "container.remotebuild"
)

Container lifecycle events.

View Source
const AgentTroubleshootEvent = "agent.troubleshoot"

AgentTroubleshootEvent is the name of the event which tracks agent troubleshoot operations.

View Source
const (
	// AksPostprovisionSkipEvent tracks when the AKS postprovision hook
	// skips Kubernetes context setup because the cluster isn't available yet.
	AksPostprovisionSkipEvent = "aks.postprovision.skip"
)

AKS service target events.

View Source
const CommandEventPrefix = "cmd."

Command event names follow the convention cmd.<command invocation path with spaces replaced by .>.

Examples:

  • cmd.auth.login
  • cmd.init
  • cmd.up
View Source
const (
	DeployAppServiceZipEvent = "deploy.appservice.zip"
)

App Service deployment events.

View Source
const (
	// HooksExecEvent tracks the execution of a lifecycle hook.
	HooksExecEvent = "hooks.exec"
)

Hook execution events.

View Source
const McpEventPrefix = "mcp."

Prefix for MCP related events.

View Source
const PackBuildEvent = "tools.pack.build"

PackBuildEvent is the name of the event which tracks the overall pack build operation.

View Source
const (
	// PreflightValidationEvent tracks the local preflight validation operation
	// and its outcome (passed, warnings accepted, aborted).
	PreflightValidationEvent = "validation.preflight"
)

Preflight validation events.

View Source
const VsRpcEventPrefix = "vsrpc."

Prefix for vsrpc events.

Variables

This section is empty.

Functions

func GetCommandEventName

func GetCommandEventName(cmdPath string) string

GetCommandEventName returns the event name for CLI commands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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