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 70
70
android : name =" io.sentry.traces.sample-rate"
71
71
android : value =" 1.0" />
72
72
<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"
77
74
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" />
78
81
<meta-data
79
82
android : name =" empowerplant.domain"
80
83
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) {
70
70
@ SuppressLint ("VisibleForTests" )
71
71
private SentryAppStartProfilingOptions createAppStartOptions (SentryOptions options ) {
72
72
SentryAppStartProfilingOptions appStartProfilingOptions = new SentryAppStartProfilingOptions ();
73
- appStartProfilingOptions .setProfileSampled (true );
73
+ appStartProfilingOptions .setContinuousProfileSampled (true );
74
+ appStartProfilingOptions .setStartProfilerOnAppStart (true );
74
75
appStartProfilingOptions .setTraceSampled (true );
75
- appStartProfilingOptions .setProfileSampleRate (1.0 );
76
76
appStartProfilingOptions .setTraceSampleRate (1.0 );
77
77
appStartProfilingOptions .setProfilingTracesDirPath (options .getProfilingTracesDirPath ());
78
- appStartProfilingOptions .setProfilingEnabled (true );
78
+ appStartProfilingOptions .setContinuousProfilingEnabled (true );
79
79
appStartProfilingOptions .setProfilingTracesHz (options .getProfilingTracesHz ());
80
80
return appStartProfilingOptions ;
81
81
}
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ public void onCreate() {
79
79
);
80
80
81
81
options .setAttachThreads (true );
82
- options .setEnableAppStartProfiling (true );
83
82
options .setEnablePerformanceV2 (true );
84
83
options .getSessionReplay ().setOnErrorSampleRate (1.0 );
85
84
options .getSessionReplay ().setSessionSampleRate (1.0 );
You can’t perform that action at this time.
0 commit comments