Dynatrace Managed installations typically run within private data centers, where each incoming connection is restricted by a firewall. To enable instrumented mobile apps to report real user monitoring data to your Dynatrace Managed installation, you'll need to configure and open a public Security Gateway. A public Security Gateway provides a secure IP address where your mobile apps can safely send their monitoring data. Use this public endpoint URL for your mobile app instrumentation configuration.
Your existing publicly available Security Gateway URLs are available for viewing within your Dynatrace Managed installation at Settings > Public endpoints.
Mobile app instrumentation
Based on your platform, follow the instructions below to enable your mobile app to send session information directly to your Dynatrace Managed cluster.
To investigate problems that you may encounter with mobile real user monitoring, check the following:
Is the certificate of the Public Security Gateway correct?
- Is the certificate root CA signed? OneAgent for mobile apps requires a special setting for working with self-signed certificates.
- Does the Public Security Gateway have a host name that matches the certificate? Certificate host name validation fails for IP addresses.
Is the Public Security Gateway reachable from the mobile app network?
- Using a mobile device browser, confirm that
timesyncdelivers a valid response. For example,
https://<psg-url>:<port>/mbeacon?type=mtsshould deliver something like
Are you receiving a correct OneAgent configuration response from the Public Security Gateway?
Using a mobile device browser, confirm if OneAgent configuration requests deliver a valid response. For example,
https://<psg-url>:<port>/mbeacon/<environment id>?type=m&app=<app id>.
Verify that the environment ID and the app ID are the same as those shown in the mobile OneAgent setup instructions for mobile apps.
The response should start with
type=mand should not contain
cp=0. Such a value would mean that capture is disabled for this app ID and that it is an unknown app. The response may also contain other configuration values like