Charlie Marsh
69477b3a77
Specialize blocking OTLP/HTTP providers for single-signal export ( #63406 )
...
## Why
The code-mode host only exports traces, and Windows sandbox setup only
exports metrics. Selecting the required exporter and HTTP client at compile
time lets the linker drop unused exporter and custom client code.
## What changed
Use `BlockingHttpService` for OTLP/HTTP JSON traces in the code-mode host
and Statsig metrics during Windows sandbox setup. These providers use the
OpenTelemetry SDK's default HTTP client. Traces use the dedicated batch span
processor even inside a Tokio runtime.
Move `codex_home` from `OtelSettings` to `OtelHeadersHelper`, where it
supplies the working directory for user-configured header commands.
## Testing
Exercise the blocking providers in HTTP loopback tests for trace export
inside a current-thread Tokio runtime and cumulative metrics temporality.
GitOrigin-RevId: 21bacbdb18b603f5f536532812ce7643e4eb36d6
2026-11-23 18:44:09 +00:00
..
2026-11-10 03:01:14 +00:00
2026-11-20 05:18:42 +00:00
2026-11-20 05:18:42 +00:00
2026-11-02 20:36:39 +00:00
2026-11-18 17:55:49 +00:00
2026-08-15 03:00:35 +00:00
2026-11-05 04:25:19 +00:00
2026-11-19 01:16:07 +00:00
2026-11-23 18:44:09 +00:00
2026-07-21 08:59:41 +00:00
2026-10-19 17:02:20 +00:00
2026-11-20 06:05:04 +00:00
2026-11-20 06:05:04 +00:00
2026-09-23 22:20:34 +00:00
2026-11-18 17:55:49 +00:00
2026-10-09 19:22:21 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-08-20 18:48:17 +00:00
2026-11-05 22:03:55 +00:00
2026-11-20 05:18:42 +00:00
2026-11-19 21:44:07 +00:00
2026-09-04 23:06:00 +00:00
2026-11-19 21:44:07 +00:00
2026-11-19 21:44:07 +00:00
2026-11-23 05:39:53 +00:00
2026-10-15 00:00:57 +00:00
2026-10-05 18:54:17 +00:00
2026-10-05 18:54:17 +00:00
2026-10-07 00:29:04 +00:00
2026-10-07 00:29:04 +00:00
2026-10-05 18:54:17 +00:00
2026-10-05 18:54:17 +00:00
2026-11-19 21:44:07 +00:00
2026-10-02 03:31:52 +00:00
2026-10-02 04:25:52 +00:00
2026-09-02 21:58:58 +00:00
2026-08-18 18:15:21 +00:00
2026-10-02 04:25:52 +00:00
2026-11-23 05:39:53 +00:00
2026-11-16 23:26:42 +00:00
2026-11-18 06:22:36 +00:00
2026-11-17 02:02:21 +00:00
2026-08-20 08:10:08 +00:00
2026-09-30 18:18:03 +00:00
2026-10-02 04:25:52 +00:00
2026-11-23 05:39:53 +00:00
2026-11-17 02:02:21 +00:00
2026-07-25 16:03:00 +00:00
2026-07-25 16:03:00 +00:00
2026-11-05 22:03:55 +00:00
2026-11-05 22:03:55 +00:00
2026-11-18 07:23:25 +00:00
2026-11-18 17:09:03 +00:00
2026-09-23 22:10:28 +00:00
2026-09-13 06:07:03 +00:00
2026-08-18 13:36:16 +00:00
2026-10-02 04:25:52 +00:00
2026-11-18 17:55:49 +00:00
2026-10-06 23:07:25 +00:00
2026-10-06 23:07:25 +00:00
2026-11-18 17:55:49 +00:00
2026-10-01 00:43:55 +00:00
2026-10-29 23:56:17 +00:00
2026-11-23 05:39:53 +00:00
2026-07-30 19:23:33 +00:00
2026-11-18 17:55:49 +00:00
2026-07-20 13:45:29 +00:00
2026-09-04 23:06:00 +00:00
2026-09-29 18:34:48 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-11-13 18:53:14 +00:00
2026-11-10 03:01:14 +00:00
2026-11-13 20:24:37 +00:00
2026-11-18 17:09:03 +00:00
2026-10-02 04:25:52 +00:00
2026-10-29 23:56:17 +00:00
2026-11-23 05:39:53 +00:00
2026-11-18 17:55:49 +00:00
2026-11-17 02:02:21 +00:00
2026-09-25 12:23:15 +00:00
2026-09-25 12:23:15 +00:00
2026-10-01 00:48:08 +00:00
2026-11-17 02:02:21 +00:00
2026-11-17 13:52:56 +00:00
2026-11-02 21:09:09 +00:00
2026-08-17 20:36:10 +00:00
2026-07-01 14:15:34 -07:00
2026-07-01 14:15:34 -07:00