End User Monitoring (EUM)

cancel
Showing results for 
Search instead for 
Did you mean: 

ADRUM.Report failure callback

Architect

ADRUM.Report failure callback

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?

Tags (2)
ADRUM.Report failure callback
3 REPLIES 3
AppDynamics Team

Re: ADRUM.Report failure callback

HI Abhinav,

 

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.

 

Regards,

Gaurav Soni



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted
Architect

Re: ADRUM.Report failure callback

At this time, in version 4.3, the method ADRUM.report sends the data to cloud EUM for each method call. I don't see any documentation or behavior of Queuing the requests. Is the queue mechanism in place in version 4.3. If yes, what are the Queue limits?

AppDynamics Team

Re: ADRUM.Report failure callback

Hi Abhinav,

 

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.

 

Regards,

Gaurav Soni



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.