question

広志 北. avatar image
広志 北. asked ·

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

Dynatrace Manageddynatrace saasRUM
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Patrick H. avatar image
Patrick H. answered ·

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.

3 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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

0 Likes 0 · ·

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.

1 Like 1 · ·

Hello @Patrick H.,

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

Thank you again.

Best Regards

1 Like 1 · ·
David N. avatar image
David N. answered ·

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


1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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

0 Likes 0 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions diagnostic tools session replay permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android