Skip to content

Commit

Permalink
Added package type info to telemetry messages (#4930)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisNikulin5 authored Aug 7, 2024
1 parent 2144e7d commit cb88778
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Agent.Worker/TaskRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,7 @@ private void PublishTelemetry(Definition taskDefinition, HandlerData handlerData
{ "JobId", ExecutionContext.Variables.System_JobId.ToString()},
{ "PlanId", ExecutionContext.Variables.Get(Constants.Variables.System.PlanId)},
{ "AgentName", ExecutionContext.Variables.Get(Constants.Variables.Agent.Name)},
{ "AgentPackageType", BuildConstants.AgentPackage.PackageType },
{ "MachineName", ExecutionContext.Variables.Get(Constants.Variables.Agent.MachineName)},
{ "IsSelfHosted", ExecutionContext.Variables.Get(Constants.Variables.Agent.IsSelfHosted)},
{ "IsAzureVM", ExecutionContext.Variables.Get(Constants.Variables.System.IsAzureVM)},
Expand Down

0 comments on commit cb88778

Please sign in to comment.