18 Feb 2025 10:51 AM - edited 25 Apr 2025 10:28 AM
When investigating injection issues, it can be helpful to enable dtHealthCheck to gather diagnostic information. This article provides more information on this and how to enable this feature.
dtHealthCheck is a OneAgent diagnostic feature, enabled by adding the User-Agent header value dtHealthCheck. The OneAgent technologies supporting Real User Monitoring add headers to the responses to any requests made with this User-Agent, and sometimes an HTML marker in the body. If automatic injection problems occur, these headers provide diagnostic details, which may help identify the issue.
The following instructions guide you through capturing diagnostic data with dtHealthCheck using Google Chrome or Microsoft Edge.
Open Developer Tools using one of the options below:
Open Network Conditions using one of the options below:
In the same tab that you have set the User-Agent to "dtHealthCheck" in the "Network Conditions" settings, open or reload the webpage and create the session.
Note: the actions must be completed in the same tab as the Network Conditions setting is made, as otherwise the option will be reset to the default.
It can be confirmed that the dtHealthCheck User Agent has been applied by checking for it in the response headers of resources
For further information on creating har files see How to generate a HAR file
Export the HAR file as described in How to generate a HAR file.