Real user monitoring is automatically enabled for all detected applications and all applications are detected by default—so no setup is required.
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.
/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.
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
- Open your browser's developer tools and look for an
XHR Postrequest that begins with
- Copy the URL of this request and append the query string
Enterto execute the URL in your browser.
You should receive a response with
status 200 and some text like
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.
Normally you benefit from real user monitoring only after you've installed Dynatrace OneAgent. 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 don't have Dynatrace OneAgent installed on your web server .
Before you begin:
What you'll need:
Setting up real user monitoring without Dynatrace OneAgent:
Note: Agentless monitoring is appropriate for environments where you can't install an agent on your web server. If you do have web server access, it's recommended that you use the standard monitoring setup instead.
Add an application to your Dynatrace environment by selecting Set up agentless monitoring from the menu.
Type in your application’s domain name.
Click Add web application
- The script tag is updated each time you make a change to your application's settings, so be sure that you insert the current version of the tag.
Dynatrace waits for you to modify your pages' code and then to see traffic on the website. You can finish here or wait to see if everything's fine.
Once page code changes have been deployed, you should begin to see monitoring data within a few minutes.
Example: simple page code before and after real user monitoring tag insertion