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

[Bug]: Upstream dependencies should alert AMO developers promptly #15308

Open
1 task done
KevinMind opened this issue Jan 27, 2025 · 2 comments
Open
1 task done

[Bug]: Upstream dependencies should alert AMO developers promptly #15308

KevinMind opened this issue Jan 27, 2025 · 2 comments
Assignees
Labels
repository:addons-server Issue relating to addons-server

Comments

@KevinMind
Copy link
Contributor

KevinMind commented Jan 27, 2025

What happened?

We have now several times run into issues with upstream dependencies (socketlabs for emails, cinder for abuse reports) where the service is down for some period of time and we only find out about it indirectly and after some period of time.

What did you expect to happen?

When a critical upstream dependency is down, we should be alerted promptly, probably via slack in our production channel.

Is there an existing issue for this?

  • I have searched the existing issues

┆Issue is synchronized with this Jira Task

@KevinMind KevinMind added needs:info repository:addons-server Issue relating to addons-server labels Jan 27, 2025
@KevinMind
Copy link
Contributor Author

KevinMind commented Jan 27, 2025

Idea: We can utilize an existing path for sending slack notifications by adding a scheduled github action workflow that pings our monitors.json endpoint and if any service is "state" == false, then we ping in slack.

Could run it every 5 minutes.

https://addons.mozilla.org/services/monitor.json

Idea: we could probably integrate this with pager duty somehow, but we don't really use pagerduty in AMO (yet) and even then we cannot slack directly from pagerduty because our prod channel is private.

Idea: we could use an amo controlled cron job, but this would require some way to ping slack directly from AMO... might not be a bad thing to have but still more work than the first idea.

@KevinMind
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repository:addons-server Issue relating to addons-server
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants