Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Backlog #702

Merged
merged 4 commits into from
Sep 5, 2022
Merged

Add Backlog #702

merged 4 commits into from
Sep 5, 2022

Conversation

kyrylo
Copy link
Contributor

@kyrylo kyrylo commented Sep 2, 2022

The Backlog class accepts notices and APM events and synchronously sends them in
the background at regular intervals (2 minutes).

The notices that it accepts are those that have failed to be sent due to network
issues or Airbrake servers struggling. If the second attempt fails, then such
data is discarded forever.

The maximum backlog size is 100. If we cannot add to the backlog anymore, the
item would be skipped and an error would be logged.

In order to support backlogs, we want to be able to return the 'code' field, so
that the caller can decide whether this error is backloggable or not.
@kyrylo kyrylo force-pushed the backlog branch 7 times, most recently from 8fb56fe to a7a3078 Compare September 5, 2022 12:41
The Backlog class accepts notices and APM events and synchronously sends them in
the background at regular intervals (2 minutes).

The notices that it accepts are those that have failed to be sent due to network
issues or Airbrake servers struggling. If the second attempt fails, then such
data is discarded forever.

The maximum backlog size is 100. If we cannot add to the backlog anymore, the
item would be skipped and an error would be logged.
@kyrylo kyrylo merged commit d51195c into master Sep 5, 2022
@kyrylo kyrylo deleted the backlog branch September 5, 2022 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant