cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace terminate session DEM React native

cyanogen
Frequent Guest

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

3 REPLIES 3

Patrick_H
Dynatrace Champion
Dynatrace Champion

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.

iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

Julius_Loman
DynaMight Legend
DynaMight Legend

You can also try setting the DataCollectionLevel to off if it fits your case.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

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

iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

Featured Posts