Skip to content

Commit cb88778

Browse files
Added package type info to telemetry messages (#4930)
1 parent 2144e7d commit cb88778

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Agent.Worker/TaskRunner.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ private void PublishTelemetry(Definition taskDefinition, HandlerData handlerData
665665
{ "JobId", ExecutionContext.Variables.System_JobId.ToString()},
666666
{ "PlanId", ExecutionContext.Variables.Get(Constants.Variables.System.PlanId)},
667667
{ "AgentName", ExecutionContext.Variables.Get(Constants.Variables.Agent.Name)},
668+
{ "AgentPackageType", BuildConstants.AgentPackage.PackageType },
668669
{ "MachineName", ExecutionContext.Variables.Get(Constants.Variables.Agent.MachineName)},
669670
{ "IsSelfHosted", ExecutionContext.Variables.Get(Constants.Variables.Agent.IsSelfHosted)},
670671
{ "IsAzureVM", ExecutionContext.Variables.Get(Constants.Variables.System.IsAzureVM)},

0 commit comments

Comments
 (0)