Documentation
¶
Overview ¶
Package events provides definitions and functions related to the definition of telemetry events.
Index ¶
Constants ¶
const ( ExtensionRunEvent = "ext.run" ExtensionInstallEvent = "ext.install" )
Extension related events.
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.
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.
const ( ContainerCredentialsEvent = "container.credentials" ContainerPublishEvent = "container.publish" ContainerRemoteBuildEvent = "container.remotebuild" )
Container lifecycle events.
const AgentTroubleshootEvent = "agent.troubleshoot"
AgentTroubleshootEvent is the name of the event which tracks agent troubleshoot operations.
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.
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
const (
DeployAppServiceZipEvent = "deploy.appservice.zip"
)
App Service deployment events.
const (
// HooksExecEvent tracks the execution of a lifecycle hook.
HooksExecEvent = "hooks.exec"
)
Hook execution events.
const McpEventPrefix = "mcp."
Prefix for MCP related events.
const PackBuildEvent = "tools.pack.build"
PackBuildEvent is the name of the event which tracks the overall pack build operation.
const ( // PreflightValidationEvent tracks the local preflight validation operation // and its outcome (passed, warnings accepted, aborted). PreflightValidationEvent = "validation.preflight" )
Preflight validation events.
const VsRpcEventPrefix = "vsrpc."
Prefix for vsrpc events.
Variables ¶
This section is empty.
Functions ¶
func GetCommandEventName ¶
GetCommandEventName returns the event name for CLI commands.
Types ¶
This section is empty.