01 May 2024 10:27 PM - last edited on 10 May 2024 03:31 PM by Michal_Gebacki
Hi Dynatrace Gurus, I have a simple html page I am testing out with a javascript embedded <script src=“liveperson.js”></script> that gets called upon page initial page load.
In turn, within liveperson.js, I make a call out to a public api https://httpbin.org/status/200.
Is there a way to create a metric of the succeess rate of the calls out to https://httpbin.org/status/200?
i am using embedded RUM in my html and I see the call in view waterfall view but I cannot see a way to view the response codes/success rates of the calls.
Thanks!
03 May 2024 08:41 AM
Hi @lt_106
Can you share please what do you see from your web application services and then the service flow?
06 May 2024 01:18 AM
Hi @Yosi_Neuman , thank you for helping out. This is what I see in my app showing up as 0 service. Something to note is that the API I am calling out to is an external one which we don't have any control over (hence no agent running). I am calling this API on my agentless monitored app from front-end javascript.
I see the external API domain as below but no way to check what response code it returned and monitor it as a metric: