This PR updates the event recording process to capture mode, intent, source, completionIntent, etc. as numerical values within the metadata field. This enhancement allows us to record these data points for all instances and not just dotcom while maintaining high security.
Key changes:
Created enum lookups for mode, TriggerKind, intent, source, EventSource, InlineCompletionsResultSource, ,CompletionIntent
Modified the telemetry recording process to convert enum values to their corresponding numerical representations.
These numerical values are stored in the metadata field of each event.
Benefits:
Data is recorded for all instances and not just dotcom, enabling better enterprise analytics
Example: In the updated system, the metadata parameter now includes numerical representations for above values (e.g. TriggerKind, intent, etc.) with enum lookups., each derived from their respective enum lookups at the time of telemetry recording.
This PR updates the event recording process to capture
mode
,intent
,source
,completionIntent
, etc. as numerical values within themetadata
field. This enhancement allows us to record these data points for all instances and not just dotcom while maintaining high security.Key changes:
mode
,TriggerKind
,intent
,source
,EventSource
,InlineCompletionsResultSource
, ,CompletionIntent
Benefits:
Example: In the updated system, the
metadata
parameter now includes numerical representations for above values (e.g.TriggerKind
,intent
, etc.) with enum lookups., each derived from their respective enum lookups at the time of telemetry recording.Test plan
CI + Locally