28 Feb 2019 10:26 AM - last edited on 27 Apr 2021 04:00 PM by MaciejNeumann
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
Solved! Go to Solution.
28 Feb 2019 03:11 PM
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.
01 Mar 2019 07:02 AM
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
01 Mar 2019 11:02 AM
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.
04 Mar 2019 01:55 AM
Hello @Patrick H.,
Thank you for quick response. Information you gave me is very helpful!!
Thank you again.
Best Regards
28 Feb 2019 04:16 PM
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
01 Mar 2019 07:07 AM
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