Skip to content

feat(integration-slack): store request error counts and disable on broken #53619

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

Closed
wants to merge 102 commits into from

Conversation

chloeho7
Copy link
Contributor

@chloeho7 chloeho7 commented Jul 26, 2023

Continuing #52994 after revert

Continuing #51126
Milestone 1 of Notify on Disabled Integration project

Implementing IntegrationRequestBuffer using Redis for logging errors and detecting broken integrations to be disabled. Request buffer stores daily aggregate error, fatal and success counts for an integration for 30 days. If an integration consistently fails for 7 days or has a fatal response, then the integration is broken. Later users will be alerted of broken integrations with an email or in-app.

Disabling implemented under feature flag "slack-disable-on-broken".
Conditions for logging Implemented in BaseApiClient and SlackClient.

@chloeho7 chloeho7 requested a review from a team as a code owner July 26, 2023 16:52
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 26, 2023
@chloeho7 chloeho7 closed this Jul 26, 2023
@chloeho7 chloeho7 deleted the chloedisablenotifyslack branch July 26, 2023 17:03
@chloeho7 chloeho7 restored the chloedisablenotifyslack branch July 26, 2023 17:06
@github-actions github-actions bot locked and limited conversation to collaborators Aug 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants