How do I enable Real User Monitoring?

Real User Monitoring is automatically enabled for all detected applications and all applications are detected by default—so no setup is required.

In rare circumstances, the Dynatrace JavaScript tag that's injected into each application page can have an adverse impact on application functionality. For this reason, following installation of Dynatrace OneAgent, confirm that your application's pages still render properly. If some of your application's pages appear to be corrupted, disable monitoring and contact Support.

Dynatrace Real User Monitoring is licensed based on consumption of user sessions. For details, see Licensing and pricing.

Why don't I see my applications or monitoring data?

If you don't see any of your applications or Real User Monitoring data in Dynatrace, the first thing you need to do is confirm that there is traffic in your web front-end processes (web server, Java, Node.js, etc). To do this, interact with one of your applications' pages to generate some traffic.

Once you're certain that your web front-end processes have traffic on them, check to see if the JavaScript tag has been injected into your application pages' HTML. To do this, view the source of one of your application's pages and look for the string /ruxitagentjs. If you see this string then you know that the JavaScript tag has been correctly injected. If you don’t see the string /ruxitagentjs in your HTML source code, then it may be that the web front-end process of your application is not monitored.

To confirm that your application's web front-end process is monitored, go to Settings > Monitoring overview > Processes and search for the process. All monitored processes are listed on this page.

To track the flow of requests across the tiers of your application OneAgent adds the header x-dynatrace to all HTTP requests. Ensure that this header can pass though your firewall.

In rare circumstances, JavaScript tag injection may not work because of poorly formatted HTML in your application. If the JavaScript tag has been correctly inserted into the HTML and you still don't see Real User Monitoring data (for example, application metrics), it may be that a firewall is blocking the signal sent by the Dynatrace JavaScript tag back to your server process.

Can I test that the monitor signal passes through my infrastructure?

To confirm that the monitor signal is correctly passing through your infrastructure, you must call the URL form <your hostname>/rx_<Your external Environment ID>?$.

To get your environment's URL for the monitor-signal check

  1. Open your browser's developer tools and look for an XHR Post request that begins with rb_<ID> (for example,
  2. Copy the URL of this request and append the query string ?type=check (for example,
  3. Hit Enter to execute the URL in your browser.

You should receive a response with status 200 and some text like "state=ok&agentType=nginx&agentVersion=". As long as the string state=ok appears (along with other text and HTTP status), then you know that the beacon signal is passing through your servers and you should be receiving Real User Monitoring data.

If these suggestions don't resolve your issue, please post your question to Dynatrace Answers where one of our product gurus can assist you.