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

Dynatrace terminate session DEM react native

cyanogen
Visitor

Hello Team Dynatrace ,

I want to ask about terminate 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

harp
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.

Julius_Loman
DynaMight Guru
DynaMight Guru

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

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

harp
Dynatrace Champion
Dynatrace Champion

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