You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flagon.apache.org by GitBox <gi...@apache.org> on 2021/04/03 12:48:00 UTC

[GitHub] [incubator-flagon-useralejs] UncleGedd commented on issue #50: sendOnClose function broken -- logs dropped when users navigate away from page

UncleGedd commented on issue #50:
URL: https://github.com/apache/incubator-flagon-useralejs/issues/50#issuecomment-812860922


   Thanks for the thorough testing! When I pushed up the branch all tests were passing so it may have been some inconsistency in our environments that was causing failing tests on your end. It is certainly strange that the web worker's network request appears in the dev tools but not in ELK. I'm able to consistently get the expected logs sent to the example app, but I haven't tried with a local ELK. 
   
   Nevertheless, I'm certainly not married to the web worker solution, sounds like it's pretty brittle. I may try another spike using service workers. Like Rob said above, they are supposed to exist regardless of what page is open.
   
   Let me know if I can be of any assistance on the `sendBeacon` solution. That sounds like the best way forward.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org