[PR #19257] Fix names and types of a few telemetry events #31771

Closed
opened 2026-01-31 09:49:25 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/19257

State: closed
Merged: Yes


Fixes a few issues with some telemetry events:

  • The macro is organized as such: TraceLoggingX(value, argName, [argDescription]). A few args had a description set on the spot where the name should be. I added a name for a few of these.
  • TraceLoggingBool --> TraceLoggingInt32 for themeChoice (we shouldn't be casting the evaluated int as a bool; it loses some of the data we care about)
  • improves the description for themeChoice to include information about the legacy values

Checked through all our telemetry events and all of the args have a proper name set. We tend to use TraceLoggingValue too which automatically figures out the type that's being used, so that's also handled.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/19257 **State:** closed **Merged:** Yes --- Fixes a few issues with some telemetry events: - The macro is organized as such: `TraceLoggingX(value, argName, [argDescription])`. A few args had a description set on the spot where the name should be. I added a name for a few of these. - `TraceLoggingBool` --> `TraceLoggingInt32` for `themeChoice` (we shouldn't be casting the evaluated int as a bool; it loses some of the data we care about) - improves the description for `themeChoice` to include information about the legacy values Checked through all our telemetry events and all of the args have a proper name set. We tend to use `TraceLoggingValue` too which automatically figures out the type that's being used, so that's also handled.
claunia added the pull-request label 2026-01-31 09:49:25 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31771