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

How to enable/disable Real User Monitoring by command

Hi all,

I have a question about Real User Monitoring.

Is there any way to enable/disable Real User Monitoring by command?
If you have any information about that, would you please let me know?

Best Regards,

Hiroshi Kitahara

 

6 REPLIES 6

pahofmann
DynaMight Guru
DynaMight Guru

What exactly do you mean with "by command"?

You can for example use the opt-in mode to enable Real User Monitoring via the JS agents API only once the user has accepted terms and conditions or checked a box for example.


Dynatrace Certified Master - Dynatrace Partner - 360Performance.net

Hello @Patrick H.,

Thank you for your response. And I am sorry I didn't explain it clearly enough.

I would like to know how to turn on/off RUM settings by command. (not on Dynatrace Screen "Application settings => General" )
My customer wants to reduce consumption of RUM licenses. And he wants to turn on/off RUM settings by the command line, not the setting change on the Dynatrace screen.

I hope that I am making sense.

Best Regards


You can use the Web Application Configuration Endpoint of the Dynatrace Configuration API to enable and disable RUM for a specific application from the command line via a script.


Dynatrace Certified Master - Dynatrace Partner - 360Performance.net

Hello @Patrick H.,

Thank you for quick response. Information you gave me is very helpful!!

Thank you again.

Best Regards


david_n
Inactive

Hello Hiroshi,

As Patrick said, having users accept the cookie could help give your users the option to choose whether or not they want to be included in RUM. Another option if you just want to turn off RUM for an application is to edit the app and in the general settings turn off real user monitoring.

Thanks,

David Nicholls


Hello @David N.,

Thank you for your comment. I am sorry for my lack of explanation.

if you just want to turn off RUM for an application is to edit the app and in the general settings turn off real user monitoring.

Yes! My customer wants to do that by command. (not on the Dynatrace screen) Is there any way to do that?

Best Regards


Featured Posts