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

Easy way to disable the Automatically inject real user monitoring

BabarQayyum
Leader

Dear All,

Is there an easy way to disable the automatically inject real user monitoring JavaScript tag from all hosts/processes in one shot?

Regards,

Babar

9 REPLIES 9

Alexander_R_
Advisor

Hello, we used "My web application" without URLS definition (default web application) and Customer web application with defined URL`s. Usually - we switch off RUM for all URLS with disabling RUM for "My web application".

So you can disable RUM for all web services "in one touch".

Regards,

Alexander

Hello @Alexander R.

Thank you for sharing your experience. I am more interested, to disable the JavaScript tag from the processes level. Is there a way to disable the automatic JavaScript tag from all the processes of a host?

Regards,

Babar

@Babar Q. , In some cases support ask me to disable globally or only for some process groups by these settings. You can use Process group override for disabling only for some process groups.




Regards,

Alexander

Hello @Alexander R.

Once again thank you for your comments. I used to use this option usually for PurePath handling, but believe me, it is equally painful to disable on each process and especially when you have enormous processes running on hosts.

We discussed a similar case in the below thread.

https://answers.dynatrace.com/questions/241454/easy-way-to-process-group-overrides.html?childToView=...

Regards,

Babar

@Babar Q. , I agree with you. We had PoC with 25+ .NET processes more than 10-15 hosts. This is old .NET application (Legacy), so I need to enable monitoring for each of 250 processes, and then disabled automatic injection for all of these process groups.

If you will create RFE - I`ll give first vote.

Regards,

Alexander

Hello @Alexander R.

One more thing, I wanted to share with you that even after override the process group from the deep monitoring, the automatically inject real user monitoring JavaScript tag option will still show the enable, which I used to disable manually.

Regards,

Babar

Yes, I known about it.

I totally agree with you. We have no menu for global disabling injection on process level.

In AppMon we have UEM sensor for agent groups. Why in Dynatrace such simple things are so difficult....

Regards,

Alexander

Joe_Hoffman
Dynatrace Champion
Dynatrace Champion

Perhaps a better approach is to use the API. The Web Application Configuration endpoint allows you to enable/disable RUM on a Per-Application basis. A simple script could walk thru a list of all Applications and based on your predefined list of approved (or excluded) Applications this could be easily done in seconds.

https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/web-application-configuration...

 

Hello @Joe H.

Thank you for your comments. The objective is to disable the auto-injection feature from all the processes, whether they are part of the web application or not e.g. when the agent installs by default, it enables the JavaScript tag on each process which I want to disable in one shot.

Regards,

Babar