Skip to content

Draft of event-level telemetry#13609

Draft
jankratochvilcz wants to merge 1 commit intomainfrom
jan/telemetry-sdk
Draft

Draft of event-level telemetry#13609
jankratochvilcz wants to merge 1 commit intomainfrom
jan/telemetry-sdk

Conversation

@jankratochvilcz
Copy link
Copy Markdown
Contributor

Fixes #

Context

Changes Made

Testing

Notes

/// Serializes task details to a JSON array string using StringBuilder.
/// Manual construction avoids System.Text.Json dependency on netstandard2.0.
/// </summary>
private static string SerializeTaskDetailsToJson(List<TaskDetailInfo> tasks)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls ignore these, it's just what was generated by default, I need to re-do this to some better approach

// providing parity with the Activity-based path used by VS telemetry.
if (!Traits.Instance.ExcludeTasksDetailsFromTelemetry)
{
Dictionary<string, string>? tasksDetailsProperties = _telemetryConsumingLogger?.WorkerNodeTelemetryData.GetTasksDetailsProperties();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the key bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant