mirror of
https://github.com/openai/codex.git
synced 2026-11-25 15:24:26 +00:00
Include originator in plugin measurement analytics (#42445)
## What changed - Add `originator` to plugin measurement inputs and emitted analytics events. - Populate it from the turn originator when recording plugin measurements. - Extend analytics tests to verify the originator is preserved in event payloads. GitOrigin-RevId: 9998f829760222fc690dc8a10324794b5da27220
This commit is contained in:
1 parent
498d40b29f
commit
36984da442
7 files changed
+13
No files matched your search
@@ -2055,6 +2055,7 @@ impl AnalyticsReducer {
|
||||
thread_id,
|
||||
turn_id,
|
||||
item_id,
|
||||
originator,
|
||||
plugin_id,
|
||||
execution_id,
|
||||
operation,
|
||||
@@ -2070,6 +2071,7 @@ impl AnalyticsReducer {
|
||||
thread_id: thread_id.clone(),
|
||||
turn_id: turn_id.clone(),
|
||||
item_id: item_id.clone(),
|
||||
originator: originator.clone(),
|
||||
plugin_id: plugin_id.clone(),
|
||||
execution_id: execution_id.clone(),
|
||||
operation: operation.clone(),
|
||||
|
||||
Reference in new issue
Block a user