I need to report a custom user action the triggers several asynchronous loads on the website. I’ve been taking a look at the dtrum documentation but I haven’t found anything. iOS SDK has the functionality that I’m looking for but I haven’t seen an equivalent for JavaScript.
In iOS it looks like this:
let childAction = DTXAction.enter(withName: #function, parentAction: parentAction)
Thank you for your reply. Unfortunately, this is not enough for us. We have several components that have different conditions to be displayed that go beyond the request being successful or not. We have seen some of these failing even though the request was successful. That’s why we need custom actions to track errors in the FE.
Hey, ok I think I now “better” but not fully understood what you want.
Let’s start from actions…
You can create your own custom actions with the RUM JavaScript API, docs you find under YOURENV/settings/rum/advancedsetup;gf=all or Settings > Web and mobile monitoring > Advanced Setup
Then you spoke of “We have seen some of these failing even though the request was successful.”
So, and correct me if I am wrong, you would ideally want to
report your own custom errors of such failing components tied to an action that you created before, which is also possible with the RUM JavaScript API (see docs that I mentioned before)
Allrelated requests are then correlated by Dynatrace to such actions.
What I haven’t yet understood is:
How and why you want to tie child and parent actions to each other, and
What you would like to see where in the Dynatrace UI as a result