mirror of
https://github.com/actions/runner.git
synced 2025-12-11 04:46:58 +00:00
* Add generateIdTokenUrl as an env var * Add generateIdTokenUrl to env vars * Add basic telemetry class and submit it on jobcompleted * Use constructor overload * Rename telemetry to jobTelemetry * Rename telemetry file * Make JobTelemetryType a string * Collect telemetry * Remove debugger * Update src/Runner.Worker/ActionCommandManager.cs Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com> * Use same JobTelemetry for all contexts * Mask telemetry data * Mask in JobRunner instead * Empty line * Change method signature Returning with a List suggests we clone it and that the original doesn't change.. * Update launch.json Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com>
18 lines
422 B
C#
18 lines
422 B
C#
using System.Runtime.Serialization;
|
|
|
|
namespace GitHub.DistributedTask.WebApi
|
|
{
|
|
/// <summary>
|
|
/// Information about a job run on the runner
|
|
/// </summary>
|
|
[DataContract]
|
|
public class JobTelemetry
|
|
{
|
|
[DataMember(EmitDefaultValue = false)]
|
|
public string Message { get; set; }
|
|
|
|
[DataMember(EmitDefaultValue = false)]
|
|
public JobTelemetryType Type { get; set; }
|
|
}
|
|
}
|