18 Apr 2022 10:04 PM - last edited on 17 May 2023 02: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?
Ridho Nurul Adilla
Solved! Go to Solution.
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.
You can also try setting the DataCollectionLevel to off if it fits your case.
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