18 Dec 2023 09:30 PM - last edited on 20 Dec 2023 12:50 PM by Michal_Gebacki
Dear Gurus,
I have an issue with IIS on Windows that is not showing neither in Default App or Specifically created Frontend App,
We have successfully enabled all capture setting required as we did in other Apps but is not capturing anything
However, if we invoke the application URL by IP it shows in the default application, otherwise it is not showing anywhere.
The two IIS services are serving the website via a load balancer and the frontend app that we created in DT checks for the rule of the domain that the users are using, They do not use the DNS ip to invoke the URL.
Any idea, what is going on, any config you suggest in Dynatrace to resolve this issue
I appreciate your support in this,
Marwan
Solved! Go to Solution.
18 Dec 2023 09:55 PM - edited 19 Dec 2023 03:05 PM
There are practically unlimited reasons for this. I'd suggest using dtHealthCheck as the user agent and then checking the response headers. You can see that in action in one of the community episodes here https://www.youtube.com/watch?v=cBQ_AF5J8m8&t=850s
19 Dec 2023 06:34 AM
In addition to @Julius_Loman advice, you need also to make sure of all the security requirements for RUM in case that you are using loadbalancer and most probably a WAF.
https://docs.dynatrace.com/docs/shortlink/rum-firewall
Thanks,
Islam
19 Dec 2023 07:23 AM
Yes exactly. First, check if the JavaScript gets injected. If not, validate it using the dtHealthCheck or you can also use the Health Check in the UI:
Maybe the RUM JS cannot be downloaded, or the beacon it sends back cannot be received because of a different context path.
20 Dec 2023 10:40 AM
We ran the health check. The two items are not clear. As I said the APP the URL with IP is showing correctly in the defaults APP but not showing in the dedicated APP that I created. It means the injection is working but somehow the DT injection is not working on the domain (see attached screenshot)
20 Dec 2023 10:52 AM
Most likely the domain is not propagated to the webserver (host request header is different on the IIS host as some reverse proxy modifies it). Dynatrace then cannot determine the host name. Check the host header on the webserver in Dynatrace (in the distributed traces).
26 Jan 2024 10:03 AM
resolved now by enabling opt-mode.
26 Jan 2024 02:03 PM
Nice, maybe you want to say disabling opt-mode, right?
07 Feb 2024 05:40 PM
indeed. resolved now by disabling opt-mode. The description of this flag is confusing may be a rephrase of the description needs to be updated.
12 Feb 2024 11:56 PM
@MarwanC Thanks for this post, I had similar issue which got fixed after disabling opt-mode. Even i was bit confused after the going through the description. However, it got fixed.
Thanks
Tijust
20 Feb 2024 02:53 PM
To put it bluntly, the current description is like this.
"With Data-collection and opt-in mode enabled, Real User Monitoring data isn't captured until dtrum.enable()
is called for specific user sessions"
As this is the most important flag to make the whole capturing to work,
I suggest Dynatrace product team to rephrase it to the layman to avoid extra double work
I suggest the following:
If the Data-collection and opt-in mode (radio button off) are disabled, Real User Monitoring data
will be captured without needing to call dtrum.enable() for specific user sessions.
When the Data-collection and opt-in mode are enabled (radio button on), Real User Monitoring
data won't be captured until dtrum.enable() is called for specific user sessions.
I hope this is clear to everyone
I have seen many occasions where the double negation is used I will try to help from experience
when possible.
Marwan...