cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADRUM.Report failure callback

Abhinav.Galodha
Architect

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?

3 REPLIES 3

Gaurav.Soni
AppDynamics Team (Retired)

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.

Abhinav.Galodha
Architect

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?

Gaurav.Soni
AppDynamics Team (Retired)

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.