Skip to content

Commit

Permalink
Fix event tags for a couple of the methods provided by the Telemetry …
Browse files Browse the repository at this point in the history
…class (#2963)

* Fixing event tags

* Correcting tags

---------

Co-authored-by: Aditya Rastogi <adityar@ntdev.microsoft.com>
  • Loading branch information
adrastogi and Aditya Rastogi committed May 23, 2024
1 parent eac4432 commit c97ad88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions telemetry/DevHome.Telemetry/Telemetry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ public void LogException(string action, Exception e, Guid? relatedActivityId = n
innerMessage,
innerStackTrace = innerStackTrace.ToString(),
message = this.ReplaceSensitiveStrings(e.Message),
PartA_PrivTags = PartA_PrivTags.ProductAndServicePerformance,
},
relatedActivityId,
isError: true);
Expand All @@ -174,6 +175,7 @@ public void LogTimeTaken(string eventName, uint timeTakenMilliseconds, Guid? rel
{
eventName,
timeTakenMilliseconds,
PartA_PrivTags = PartA_PrivTags.ProductAndServicePerformance,
},
relatedActivityId,
isError: false);
Expand Down

0 comments on commit c97ad88

Please sign in to comment.