You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
telemetry: embed per-field descriptions in ETW metadata (TraceLoggingDescription equivalent) in our tracelogging wrappers #620
Area-Rust-SDKPublic Rust SDK APIs and integration with the MXC execution engine.Issue-FeatureA request for new or expanded product functionality.OS-WindowsApplies specifically to Windows hosts or Windows behavior.
Our mxc_telemetry crate wraps the pure-Rust tracelogging crate (v1.2.4). Native WIL/TraceLogging lets authors embed human-readable descriptions on events and fields (e.g. TraceLoggingDescription("...")) that travel in the event metadata and are visible to decoders — analogous to how the usage macros (TraceLoggingKeyword(MICROSOFT_KEYWORD_MEASURES), TelemetryPrivacyDataTag(PDT_...)) embed usage/privacy semantics.
The Rust tracelogging crate exposes only numeric tag() / format() per field/event and has no string-description equivalent. As a result, MXC's MXC.Execution / MXC.Error fields (mxc.backend, mxc.exit_code, mxc.outcome, mxc.duration_ms, mxc.failure_reason, mxc.error_type, and the new mxc.phase) currently carry no embedded, decoder-visible documentation.
Add a description-embedding capability to our TraceLogging wrappers so each event/field can carry an inline description, giving parity with WIL's TraceLoggingDescription.
Proposed technical implementation details
Investigate embedding the description via the crate's raw_meta / raw_field escape hatch, a custom metadata field, or by contributing an upstream feature to the tracelogging crate.
Provide a wrapper API (e.g. a field_with_desc!-style helper or a central per-field description registry) so mxc_telemetry::log_execution / log_error annotate every field once, centrally.
Keep data-minimization: descriptions are static schema documentation, never runtime values or PII.
Backfill descriptions for all existing fields plus mxc.phase.
Deferred from the PR #493 telemetry follow-up work (see #562).
OS-Windows: ETW/TraceLogging is a Windows-specific technology; the feature is scoped to the Windows telemetry path.
Area-Build-Rust: The work is entirely within the mxc_telemetry Rust crate — adding a description-embedding API, wrapper helpers, and backfilling existing fields.
Owner assigned: None — telemetry / build infrastructure doesn't map to a specific owner in the current assignment matrix. No Needs-Triage label was present to remove.
Area-Rust-SDKPublic Rust SDK APIs and integration with the MXC execution engine.Issue-FeatureA request for new or expanded product functionality.OS-WindowsApplies specifically to Windows hosts or Windows behavior.
Activity
github-actions commentedon Jul 7, 2026
Triage
Labels applied:
OS-Windows,Area-Build-Rustmxc_telemetryRust crate — adding a description-embedding API, wrapper helpers, and backfilling existing fields.Owner assigned: None — telemetry / build infrastructure doesn't map to a specific owner in the current assignment matrix. No
Needs-Triagelabel was present to remove.