gobrake icon indicating copy to clipboard operation
gobrake copied to clipboard

Airbrake on low internet connectivity

Open meetme2meat opened this issue 3 years ago • 2 comments

Before even I start, having used airbrake in past gives me the impression things I'm looking for perhaps do not exist yet in airbrake. But I just want to double-check.

We have our system deployed at remote places where internet connectivity is not stable. We would love to have error monitoring capability like airbrake in our system but we are not sure what would happen in an event(error event on airbrake) if the internet at the remote system is currently down. Will it drop the error(I'm assuming, it does)? Also is there a provision to send those errors to the airbrake system when the internet is up on the system?

meetme2meat avatar Oct 14 '22 02:10 meetme2meat

Hey, Viren! In gobrake v5.6.0 we've actually released a feature called "backlog". I am not sure why it's not mentioned in the CHANGELOG (@chimanjain could you please add a mention?).

This somewhat helps in your scenario. If the airbrake server is unreachable, the error you are trying to send (or an APM event) would be cached and attempted to send later. I don't see any documentation on how to use it, though (@chimanjain, again, could you please work on that?).

kyrylo avatar Oct 14 '22 10:10 kyrylo

Yes, there is a provision for that, we provide a backlog retry mechanism which retries to send the errors and monitoring stats to Airbrake after some time. To read more, please check the documentation here and in FAQ.

chimanjain avatar Oct 14 '22 10:10 chimanjain