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?