File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
java/com/example/vu/android Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 7070 android : name =" io.sentry.traces.sample-rate"
7171 android : value =" 1.0" />
7272 <meta-data
73- android : name =" io.sentry.traces.profiling.enable"
74- android : value =" true" />
75- <meta-data
76- android : name =" io.sentry.traces.profiling.sample-rate"
73+ android : name =" io.sentry.traces.profiling.session-sample-rate"
7774 android : value =" 1.0" />
75+ <meta-data
76+ android : name =" io.sentry.traces.profiling.lifecycle"
77+ android : value =" trace" />
78+ <meta-data
79+ android : name =" io.sentry.traces.profiling.start-on-app-start"
80+ android : value =" true" />
7881 <meta-data
7982 android : name =" empowerplant.domain"
8083 android : value =" https://application-monitoring-flask-dot-sales-engineering-sf.appspot.com" />
Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ private SentryOptions createOptions(final @NotNull Context context) {
7070 @ SuppressLint ("VisibleForTests" )
7171 private SentryAppStartProfilingOptions createAppStartOptions (SentryOptions options ) {
7272 SentryAppStartProfilingOptions appStartProfilingOptions = new SentryAppStartProfilingOptions ();
73- appStartProfilingOptions .setProfileSampled (true );
73+ appStartProfilingOptions .setContinuousProfileSampled (true );
74+ appStartProfilingOptions .setStartProfilerOnAppStart (true );
7475 appStartProfilingOptions .setTraceSampled (true );
75- appStartProfilingOptions .setProfileSampleRate (1.0 );
7676 appStartProfilingOptions .setTraceSampleRate (1.0 );
7777 appStartProfilingOptions .setProfilingTracesDirPath (options .getProfilingTracesDirPath ());
78- appStartProfilingOptions .setProfilingEnabled (true );
78+ appStartProfilingOptions .setContinuousProfilingEnabled (true );
7979 appStartProfilingOptions .setProfilingTracesHz (options .getProfilingTracesHz ());
8080 return appStartProfilingOptions ;
8181 }
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ public void onCreate() {
7979 );
8080
8181 options .setAttachThreads (true );
82- options .setEnableAppStartProfiling (true );
8382 options .setEnablePerformanceV2 (true );
8483 options .getSessionReplay ().setOnErrorSampleRate (1.0 );
8584 options .getSessionReplay ().setSessionSampleRate (1.0 );
You can’t perform that action at this time.
0 commit comments