I have a timer observable in angular in the following manner,
Solved! Go to Solution.
@KiranAIR - So this XHR call is initiated without user input? If this is true, then it won't be detected as user action. User action are - as the name says it - actions initiated by a user. If it's on a background, it's not (typically) a user action.
So if you want this XHR call detected become a user action you have several options:
This XHR call is initiated on the panel creation. On click of a button, In
I think if you are injecting the RUM before you are creating the panel, then you should be able to call the dtrum API just fine. You need to handle if it's injected anyway.
For the missing first XHR I can think of two reasons:
I do have timeout setting enabled. There was on other user action triggered on the panel (a call made to fetch an icon). For now, I have set that to be primary criteria for creation.
Thanks for your help.
If you download the package in your Dynatrace environment (go to Settings -> Web and mobile monitoring -> Advanced setup) it contains API docs (the same as on the web) and also examples.
You just need to check if the dtrum object is present (e.g. typeof (dtrum) !== "undefined" ) and then call the methods and it should be just fine.