RUM agent - using Beacon API

Curious if there are any plans to use the Beacon API for the RUM agent? https://developer.mozilla.org/en-US/docs/Web/API/Beacon_API It seems like it would greatly increase performance for monitoring.

Hi William,

Thanks for your interest in Elastic APM.

The Beacon API is generally used to send analytics data before the page unload to avoid blocking the unload event. Currently we don't block the unload event since we have earlier opportunities to send the payload to the APM server.

However, I've created this issue to consider using the Beacon API to capture any payload we might have during unload event.

Cheers,
Hamid

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.