Draft of event-level telemetry#13609
Draft
jankratochvilcz wants to merge 1 commit intomainfrom
Draft
Conversation
jankratochvilcz
commented
Apr 27, 2026
| /// 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) |
Contributor
Author
There was a problem hiding this comment.
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(); |
Contributor
Author
There was a problem hiding this comment.
This is the key bit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #
Context
Changes Made
Testing
Notes