You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/src/profiling.ts
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,9 @@ import { DEBUG_BUILD } from "./debug-build";
5
5
import{getClient}from"./currentScopes";
6
6
7
7
/**
8
-
*
8
+
* Starts the Sentry continuous profiler.
9
+
* This mode is exclusive with the transaction profiler and will only work if the profilesSampleRate is set to a falsy value.
10
+
* In continuous profiling mode, the profiler will keep reporting profile chunks to Sentry until it is stopped, which allows for continuous profiling of the application.
9
11
*/
10
12
functionstartProfiler(){
11
13
constclient=getClient()
@@ -23,7 +25,8 @@ function startProfiler() {
23
25
}
24
26
25
27
/**
26
-
*
28
+
* Stops the Sentry continuous profiler.
29
+
* Calls to stop will stop the profiler and flush the currently collected profile data to Sentry.
0 commit comments