01 Apr 2019 10:05 PM
Hi guys,
Prospect are running their application with owin self-host web api (https://docs.microsoft.com/en-us/aspnet/web-api/ov...
Agent work OK and we can see server side information but no JS agent is being inject into the html pages that are coming from this PG.
When checking the PG setting the JS injection is set on
Any suggestions why there is no injection here?
Thanks in advance
Yos
Solved! Go to Solution.
01 Apr 2019 11:00 PM
Hey Yos,
Can you confirm that you have turned on monitoring for all the processes from the Deployment status page?
02 Apr 2019 08:44 AM
Hן @Rohith S. process is monitor the issue as @Alexander S. point is that .net is not auto injection technology
Thanks for your answer
Yos
02 Apr 2019 07:34 AM
In general you have Web Api as I understand. So you don't have monitoring on processes that are serving frontend or on mobile devices. Am I correct? If yes you should install OneAgent (or inject it manually) on WebServer where front is serving. If this API is for mobile app you should check documentation about how to instrument them.
Sebastian
02 Apr 2019 08:25 AM
Thanks for your input - thats not the issue here , please see down @Alexander S. answer
Yos
02 Apr 2019 07:50 AM
Hi Yos,
I guess you don't have a web server like IIS in front of your application. Even if the OneAgent is installed and monitoring this process it is not capable of doing the real user monitoring injection on the .NET or in your case OWIN process.
You can put an IIS (or Apache, Nginx) in front of OWIN and then the RUM injection is done at this tier.
Please take a look at the Real user monitoring auto injection section here: https://www.dynatrace.com/support/help/shortlink/supported-technologies#real-user-monitoring
02 Apr 2019 08:23 AM
Yes you are right there is no WebServer in front of the OWIN and since .net is not list as auto-injection technology there will be no auto-injection 😞
Thanks
Yos