From 5830a5848e29d46c45580a9a9c3e048570bb7780 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 12 Oct 2026 13:51:30 +0200 Subject: [PATCH 1/3] docs(javascript): Describe trace profiling lifecycle using spans Co-Authored-By: Codex --- docs/platforms/javascript/common/configuration/options.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/javascript/common/configuration/options.mdx b/docs/platforms/javascript/common/configuration/options.mdx index c7688cab4eee9..2f167ca264ffe 100644 --- a/docs/platforms/javascript/common/configuration/options.mdx +++ b/docs/platforms/javascript/common/configuration/options.mdx @@ -877,7 +877,7 @@ This option is required to enable profiling (default is `0`). Determines how profiling sessions are controlled. It has two modes: - `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`. Read more about these functions in the profiling API documentation. -- `'trace'`: Profiling starts and stops automatically with transactions, as long as tracing is enabled. The profiler runs as long as there is at least one sampled transaction. In this mode, profiling is affected by both `profileSessionSampleRate` and your tracing sample rate (`tracesSampleRate` or `tracesSampler`). +- `'trace'`: Profiling starts and stops automatically with spans, as long as tracing is enabled. The profiler runs as long as there is at least one sampled span. In this mode, profiling is affected by both `profileSessionSampleRate` and your tracing sample rate (`tracesSampleRate` or `tracesSampler`). From 28a0581021e46b0f886c8d16f2feeb15fe097e42 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 12 Oct 2026 14:53:22 +0200 Subject: [PATCH 2/3] Update docs/platforms/javascript/common/configuration/options.mdx Co-authored-by: Sigrid <32902192+s1gr1d@users.noreply.github.com> --- docs/platforms/javascript/common/configuration/options.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/javascript/common/configuration/options.mdx b/docs/platforms/javascript/common/configuration/options.mdx index 2f167ca264ffe..20d56db5c0f55 100644 --- a/docs/platforms/javascript/common/configuration/options.mdx +++ b/docs/platforms/javascript/common/configuration/options.mdx @@ -877,7 +877,7 @@ This option is required to enable profiling (default is `0`). Determines how profiling sessions are controlled. It has two modes: - `'manual'` (default): You control when profiling starts and stops using the `startProfiler()` and `stopProfiler()` functions. In this mode, profile sampling is only affected by `profileSessionSampleRate`. Read more about these functions in the profiling API documentation. -- `'trace'`: Profiling starts and stops automatically with spans, as long as tracing is enabled. The profiler runs as long as there is at least one sampled span. In this mode, profiling is affected by both `profileSessionSampleRate` and your tracing sample rate (`tracesSampleRate` or `tracesSampler`). +- `'trace'`: Profiling starts and stops automatically with root spans, as long as tracing is enabled. The profiler runs while there is at least one active, sampled root span, up to a maximum of 5 minutes per root span. In this mode, profiling is affected by both `profileSessionSampleRate` and your tracing sample rate (`tracesSampleRate` or `tracesSampler`). From 97bfbca9aec5633cf00154ae82087f551bbe6044 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 12 Oct 2026 15:32:57 +0200 Subject: [PATCH 3/3] chore: Retrigger CI Co-Authored-By: Codex