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

Disabling RUM for Mobile Applications

Aboud
Participant

We are currently working on automating the enabling and disabling of Real User Monitoring (RUM) for both web and mobile applications in Dynatrace during scheduled maintenance windows.

For web applications, we successfully toggle RUM using the "realUserMonitoringEnabled" parameter in the API. However, we have encountered a challenge with mobile applications:

  • The mobile application API configuration does not have a parameter similar to "realUserMonitoringEnabled" to disable RUM.

  • The "costControlUserSessionPercentage" setting does not allow a value of 0, meaning we cannot fully stop RUM for mobile apps during maintenance.

Could you advise on the correct method to completely disable/enable RUM for mobile applications during our maintenance periods? Is there an undocumented API parameter or another recommended approach?

3 REPLIES 3

Patrick_H
Dynatrace Leader
Dynatrace Leader

Hi!

in Dynatrace you can configure Maintenance WIndows, does this not cover your use-case, or why do you want to stop monitoring during those?

iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

Hello @Patrick_H 

Our goal is to conserve the DEM license.

We need to optimize our license usage as much as possible across:

  • Synthetic monitoring (achieved through MW)

  • Web RUM (managed via API configuration scripts using the parameter "realUserMonitoringEnabled")

  • Mobile RUM (no "realUserMonitoringEnabled" parameter found)

dominik_messner
Dynatrace Enthusiast
Dynatrace Enthusiast

Hi, you can use the Settings API for that.

In this case, the schema is builtin:rum.mobile.enablement and you want to modify the "enabled" flag in the "rum" object.

Featured Posts