19 Apr 2022 06:04 AM - last edited on 17 May 2023 10:17 AM by Michal_Gebacki
Hello Team Dynatrace ,
I want to ask about terminating the session in react native plugin DEM Dynatrace with manual instrumentation.
if we want to start plugin we use
new ManualStartupConfiguration( beaconUrl, applicationId, reportCrash: true, logLevel: LogLevel.Info, lifecycleUpdate: false, certificateValidation: true; userOptIn: false; )
And how to terminate session Dynatrace monitoring DEM?
Is there any function like dynatrace.shutdown() in react native?
Best regards,
Ridho Nurul Adilla
Solved! Go to Solution.
19 Apr 2022 07:22 AM - edited 19 Apr 2022 07:30 AM
Hi,
whats your use-case to manually stop monitoring?
endSession API is available, but this only ends the current and switches to a new monitoring sessions.
20 Apr 2022 10:07 AM
You can also try setting the DataCollectionLevel to off if it fits your case.
20 Apr 2022 10:16 AM
for the record: this will only create a new session with just a session start event (and if data privacy setting are set by user choice might also lead to conflicts). be aware that every time the data privacy level is changed to a different level a session split happens