Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
Is it possible to define a failure callback function for the ADRUM.Report method?
Sometimes, the ADRUM.Report method might fail, for e.g. if the machine doesn't have access to outside network or to EUM cloud. So, it can't send the beacon data to beaconURL. In such cases, we can define a callback function with a fallback beaconURL. Is it possible to define a failure callback function for ADRUM.report?
I don't think thats possible. This method does not return a status. The event may not be sent immediately. It will be pushed to a queue and sent out as a batch when the queue is big enough.
That default waiting period for a beacon to be sent is 5s. Until we flush to force a beacon sent.
Also the default size of the wait queue is 20. If there are 20 events in the queue before 5s, the beacon will be sent.