arnavpatidar-OAI
0736b26422
Fix trace exporter activation after account switches ( #57657 )
...
## Why
When the app server started with tracing disabled, its subscriber lacked the trace bridge needed to export spans after an account switch enabled tracing. Disabling tracing also left the previous global tracer provider installed.
## What changed
- Always install the reloadable trace layer so account switches can enable trace export without restarting the app server.
- Replace the global tracer provider with a no-op provider when trace export is disabled, including when all telemetry exporters are disabled.
## Testing
Add an app-server regression test that starts with tracing disabled, enables a requirements-managed trace exporter on account switch, and verifies export with the parent trace ID preserved. Add a provider unit test verifying that disabling telemetry stops new spans from recording.
GitOrigin-RevId: 3561b748a06e6d7c819f82d9db5889dafd124ad8
2026-10-28 06:22:58 +00:00
..
2026-10-26 21:07:09 +00:00
2026-10-14 07:13:22 +00:00
2026-10-27 05:52:01 +00:00
2026-10-23 14:59:40 +00:00
2026-10-27 11:37:24 +00:00
2026-10-28 06:22:58 +00:00
2026-10-26 20:02:45 +00:00
2026-10-27 18:35:19 +00:00
2026-10-28 05:46:04 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 20:02:45 +00:00
2026-10-27 22:02:35 +00:00
2026-10-26 20:26:32 +00:00
2026-10-27 22:59:22 +00:00
2026-10-22 19:36:47 +00:00
2026-10-27 17:04:16 +00:00
2026-10-26 21:08:15 +00:00
2026-10-28 01:04:30 +00:00
2026-10-26 18:06:07 +00:00
2026-10-26 18:14:57 +00:00
2026-10-20 15:43:19 +00:00
2026-10-28 01:29:34 +00:00
2026-10-28 01:29:34 +00:00
2026-10-27 05:52:01 +00:00
2026-10-27 16:36:32 +00:00
2026-10-27 23:51:43 +00:00
2026-10-19 21:43:19 +00:00
2026-10-27 22:01:13 +00:00
2026-10-28 05:46:04 +00:00
2026-10-27 22:01:13 +00:00
2026-10-26 21:55:00 +00:00
2026-10-28 05:46:04 +00:00
2026-10-27 19:50:41 +00:00
2026-10-19 15:15:17 +00:00
2026-10-26 22:23:59 +00:00
2026-10-27 05:52:01 +00:00
2026-10-26 19:19:10 +00:00
2026-10-08 20:11:43 +00:00
2026-10-27 05:52:01 +00:00
2026-10-28 02:54:18 +00:00
2026-10-28 02:54:18 +00:00
2026-10-27 23:53:09 +00:00
2026-10-27 23:53:09 +00:00
2026-10-27 19:50:41 +00:00
2026-10-27 16:16:17 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 19:36:47 +00:00
2026-10-27 23:53:09 +00:00
2026-10-13 17:22:34 +00:00
2026-10-26 20:40:53 +00:00
2026-10-27 17:19:51 +00:00
2026-10-27 19:50:41 +00:00
2026-10-26 19:21:08 +00:00
2026-10-28 00:51:29 +00:00
2026-10-22 19:36:47 +00:00
2026-10-26 18:31:21 +00:00
2026-10-28 00:51:29 +00:00
2026-10-27 21:51:26 +00:00
2026-10-22 19:36:47 +00:00
2026-10-23 15:00:06 +00:00
2026-10-22 19:36:47 +00:00
2026-10-28 00:51:29 +00:00
2026-10-28 00:51:29 +00:00
2026-10-27 22:26:12 +00:00
2026-10-27 17:07:43 +00:00
2026-10-26 18:22:40 +00:00
2026-10-28 06:22:58 +00:00
2026-10-27 16:36:32 +00:00
2026-10-27 23:53:34 +00:00
2026-10-27 23:53:34 +00:00
2026-10-10 02:54:59 +00:00
2026-10-27 13:31:38 +00:00
2026-10-19 16:56:42 +00:00
2026-10-26 19:37:32 +00:00
2026-10-27 19:50:41 +00:00
2026-10-28 01:29:34 +00:00
2026-10-28 00:51:29 +00:00
2026-10-27 05:52:01 +00:00
2026-10-27 05:52:01 +00:00
2026-10-22 04:59:19 +00:00
2026-10-27 05:52:01 +00:00
2026-10-19 21:01:44 +00:00
2026-10-27 19:50:41 +00:00
2026-10-22 00:19:02 +00:00
2026-10-28 01:04:30 +00:00
2026-10-27 19:50:41 +00:00
2026-10-28 04:05:31 +00:00
2026-10-27 14:14:16 +00:00
2026-10-28 05:11:45 +00:00
2026-10-13 22:40:57 +00:00
2026-10-28 05:46:04 +00:00
2026-10-28 04:48:23 +00:00
2026-10-27 05:52:01 +00:00
2026-10-27 05:52:01 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 17:02:32 +00:00
2026-10-26 22:05:00 +00:00
2026-10-28 02:54:18 +00:00
2026-10-28 05:11:45 +00:00
2026-10-28 04:48:23 +00:00
2026-10-28 04:48:23 +00:00
2026-10-27 05:52:01 +00:00