Commit Graph
5171 Commits
Author SHA1 Message Date
rhan-oai fb39dcb5c3 merge commit for archive created by Sapling 2026-04-04 17:58:08 -07:00
rhan-oai 69a26ef398 [codex-analytics] add steering metadata 2026-04-04 17:57:33 -07:00
rhan-oai 902d44e832 [codex-analytics] add queued submission metadata 2026-04-04 17:57:33 -07:00
rhan-oai 5d1e1f8b28 [codex-analytics] add token usage metadata 2026-04-04 17:57:33 -07:00
rhan-oai 744310afcd [codex-analytics] feature plumbing and emittance 2026-04-04 17:57:33 -07:00
rhan-oai 73cdd36498 [codex-analytics] add protocol-native turn timestamps 2026-04-04 17:57:33 -07:00
rhan-oai efa5deb08f merge commit for archive created by Sapling 2026-04-04 17:52:37 -07:00
rhan-oai 51d4344f23 [codex-analytics] add steering metadata 2026-04-04 17:52:24 -07:00
rhan-oai 0d0e0c3378 [codex-analytics] add queued submission metadata 2026-04-04 17:52:24 -07:00
rhan-oai 48ff03e97e [codex-analytics] add token usage metadata 2026-04-04 17:52:24 -07:00
rhan-oai e8e56aa949 [codex-analytics] feature plumbing and emittance 2026-04-04 17:52:24 -07:00
rhan-oai 86a7654ab9 [codex-analytics] add protocol-native turn timestamps 2026-04-04 17:44:45 -07:00
rhan-oai 3f0408070d Merge 53c3233677 into sapling-pr-archive-rhan-oai 2026-04-04 16:48:42 -07:00
rhan-oai 53c3233677 [codex-analytics] add steering metadata 2026-04-04 16:40:06 -07:00
rhan-oai 4fdeb488a3 [codex-analytics] add queued submission metadata 2026-04-04 16:40:06 -07:00
rhan-oai c7a5aaf45c [codex-analytics] add token usage metadata 2026-04-04 16:40:06 -07:00
rhan-oai 0c5232ef79 [codex-analytics] feature plumbing and emittance 2026-04-04 16:40:06 -07:00
rhan-oai 8111bfb65a [codex-analytics] add protocol-native turn timestamps 2026-04-04 16:40:06 -07:00
rhan-oai 9934b1cb6b Merge 0c1d75ce3b into sapling-pr-archive-rhan-oai 2026-04-04 16:15:44 -07:00
rhan-oai 0c1d75ce3b [codex-analytics] add steering metadata 2026-04-04 16:13:25 -07:00
rhan-oai eb1c895336 [codex-analytics] add queued submission metadata 2026-04-04 16:13:25 -07:00
rhan-oai 6197512200 [codex-analytics] add token usage metadata 2026-04-04 16:13:25 -07:00
rhan-oai 60014ca992 [codex-analytics] feature plumbing and emittance 2026-04-04 16:13:25 -07:00
rhan-oai 466fcf6e49 [codex-analytics] add protocol-native turn timestamps 2026-04-04 16:13:25 -07:00
rhan-oai 21ac104fa7 merge commit for archive created by Sapling 2026-04-04 16:11:36 -07:00
rhan-oai ee523a3857 [codex-analytics] add steering metadata 2026-04-04 16:07:09 -07:00
rhan-oai cfa70f060e [codex-analytics] add queued submission metadata 2026-04-04 16:05:47 -07:00
rhan-oai 9461957686 [codex-analytics] add token usage metadata 2026-04-04 16:04:28 -07:00
rhan-oai ca49436930 [codex-analytics] feature plumbing and emittance 2026-04-04 16:04:27 -07:00
rhan-oai 7c482f2179 [codex-analytics] add protocol-native turn timestamps 2026-04-04 16:02:19 -07:00
rhan-oai 7144528ec6 Merge 98c5dd3010 into sapling-pr-archive-rhan-oai 2026-04-04 15:54:53 -07:00
rhan-oai 98c5dd3010 [codex-analytics] add steering metadata 2026-04-04 15:53:13 -07:00
rhan-oai b50e2b9844 [codex-analytics] add queued submission metadata 2026-04-04 15:53:13 -07:00
rhan-oai c6da10659c [codex-analytics] add token usage metadata 2026-04-04 15:53:13 -07:00
rhan-oai d7dadd4e6f [codex-analytics] feature plumbing and emittance 2026-04-04 15:53:13 -07:00
rhan-oai ce52384691 [codex-analytics] add protocol-native turn timestamps 2026-04-04 15:53:13 -07:00
rhan-oai 20819dc0c7 merge commit for archive created by Sapling 2026-04-04 15:43:32 -07:00
rhan-oai f80f096edb [codex-analytics] add steering metadata 2026-04-04 11:39:16 -07:00
rhan-oai 24ded922f5 [codex-analytics] add queued submission metadata 2026-04-04 11:39:16 -07:00
rhan-oai 7d63da2c64 [codex-analytics] add token usage metadata 2026-04-04 11:39:16 -07:00
rhan-oai 5603659dbd [codex-analytics] feature plumbing and emittance 2026-04-04 11:39:16 -07:00
rhan-oai d0b66a403a [codex-analytics] add protocol-native turn timestamps 2026-04-04 11:39:15 -07:00
4fd5c35c4f [codex-analytics] subagent analytics (#15915)
- creates custom event that emits subagent thread analytics from core
- wires client metadata (`product_client_id, client_name,
client_version`), through from app-server
- creates `created_at `timestamp in core
- subagent analytics are behind `FeatureFlag::GeneralAnalytics`

PR stack
- [[telemetry] thread events
#15690](https://github.com/openai/codex/pull/15690)
- --> [[telemetry] subagent events
#15915](https://github.com/openai/codex/pull/15915)
- [[telemetry] turn events
#15591](https://github.com/openai/codex/pull/15591)
- [[telemetry] steer events
#15697](https://github.com/openai/codex/pull/15697)
- [[telemetry] queued prompt data
#15804](https://github.com/openai/codex/pull/15804)

Notes:
- core does not spawn a subagent thread for compact, but represented in
mapping for consistency

`INFO | 2026-04-01 13:08:12 | codex_backend.routers.analytics_events |
analytics_events.track_analytics_events:399 | Tracked
codex_thread_initialized event params={'thread_id':
'019d4aa9-233b-70f2-a958-c3dbae1e30fa', 'product_surface': 'codex',
'app_server_client': {'product_client_id': 'CODEX_CLI', 'client_name':
'codex-tui', 'client_version': '0.0.0', 'rpc_transport': 'in_process',
'experimental_api_enabled': None}, 'runtime': {'codex_rs_version':
'0.0.0', 'runtime_os': 'macos', 'runtime_os_version': '26.4.0',
'runtime_arch': 'aarch64'}, 'model': 'gpt-5.3-codex', 'ephemeral':
False, 'initialization_mode': 'new', 'created_at': 1775074091,
'thread_source': 'subagent', 'subagent_source': 'thread_spawn',
'parent_thread_id': '019d4aa8-51ec-77e3-bafb-2c1b8e29e385'} | `

`INFO | 2026-04-01 13:08:41 | codex_backend.routers.analytics_events |
analytics_events.track_analytics_events:399 | Tracked
codex_thread_initialized event params={'thread_id':
'019d4aa9-94e3-75f1-8864-ff8ad0e55e1e', 'product_surface': 'codex',
'app_server_client': {'product_client_id': 'CODEX_CLI', 'client_name':
'codex-tui', 'client_version': '0.0.0', 'rpc_transport': 'in_process',
'experimental_api_enabled': None}, 'runtime': {'codex_rs_version':
'0.0.0', 'runtime_os': 'macos', 'runtime_os_version': '26.4.0',
'runtime_arch': 'aarch64'}, 'model': 'gpt-5.3-codex', 'ephemeral':
False, 'initialization_mode': 'new', 'created_at': 1775074120,
'thread_source': 'subagent', 'subagent_source': 'review',
'parent_thread_id': None} | `

---------

Co-authored-by: jif-oai <jif@openai.com>
Co-authored-by: Michael Bolin <mbolin@openai.com>
2026-04-04 11:06:43 -07:00
rhan-oai c655e205cd merge commit for archive created by Sapling 2026-04-04 10:00:38 -07:00
rhan-oai 2238d006d7 [codex-analytics] add steering metadata 2026-04-04 09:59:27 -07:00
rhan-oai 7039a97208 [codex-analytics] add queued submission metadata 2026-04-04 09:59:27 -07:00
rhan-oai 9f40c2751f [codex-analytics] add token usage metadata 2026-04-04 09:59:27 -07:00
rhan-oai 830f8efa5f [codex-analytics] feature plumbing and emittance 2026-04-04 09:59:24 -07:00
rhan-oai 06a062d6e2 merge commit for archive created by Sapling 2026-04-04 09:55:00 -07:00
rhan-oai 128930a1d6 [codex-analytics] add steering metadata 2026-04-04 09:54:41 -07:00