To use real user monitoring without Dynatrace you need to set up a publicly accessible Security Gateway. You can use the same Security Gateway for both web checks and agentless real user monitoring.
Normally you benefit from real user monitoring only after you've installed Dynatrace. The manual approach to setup described here—otherwise known as agentless real user monitoring—should only be used for installations where you aren't able to start deep monitoring, for example because you have no Dynatrace installed on your web server machine.
Before you begin:
What you'll need:
Install Security Gateway
Don't install a Security gateway on the same host where a Dynatrace cluster node is installed.
To install a Security Gateway:
- Select Home from the navigation menu to access the Clusters page.
- Click Add new Security Gateway.
- Follow the instructions included in the installer. Be sure to install the Security Gateway in a network segment that is accessible from the Internet.
- Go to Settings > Public endpoints and type in the URL where your new Security Gateway can be reached. The URL must be publicly accessible and able to accept HTTPS requests.
Note: Agentless real user monitoring, mobile-app monitoring, and web checks all use this same endpoint to transmit monitoring data to Dynatrace.
Once Dynatrace has validated that your Security Gateway can be reached by Dynatrace Server, you will be able to schedule web checks from all environments.
Load balancing multiple Security Gateways
For production monitoring with high load and fail-over requirements it's recommended that you use multiple load balanced Security Gateways. If you take this approach, you will need to provide your load-balancer URL in the Security Gateway URL field, as explained in the above procedure.
Configure load balancer
Requests that your load balancer forwards to Security Gateways appear as follows:
GET and POST requests for transmitting session information to Dynatrace Managed:
Note: Be sure to configure the load-balancer to set the
x-forwarded-for parameter for all forwarded requests. This parameter contains the IP address of the original request. Dynatrace needs this parameter to determine where the request originated from.
- Go to Settings > Public endpoints.