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 option to "shard" execution of the checks.remotesettings.attachments_availability check #1447

Open
leplatrem opened this issue Jun 3, 2024 · 0 comments

Comments

@leplatrem
Copy link
Contributor

See https://github.com/mozilla-it/webservices-infra/pull/2011#issuecomment-2115277602

For example, by bucket:

[checks.remotesettings-prod.attachments-main]
description = "Attachments are all available via CDN"
module = "checks.remotesettings.attachments_availability"
params.server = "https://firefox.settings.services.mozilla.com/v1"
params.buckets = ["main", "blocklists"]

[checks.remotesettings-prod.attachments-main]
description = "Attachments are all available via CDN"
module = "checks.remotesettings.attachments_availability"
params.server = "https://firefox.settings.services.mozilla.com/v1"
params.buckets = ["security-state"]

or have a range parameter to split it based on number of attachments:

[checks.remotesettings-prod.attachments-part1]
description = "Attachments are all available via CDN"
module = "checks.remotesettings.attachments_availability"
params.server = "https://firefox.settings.services.mozilla.com/v1"
params.slice_percent = [0, 49]

[checks.remotesettings-prod.attachments-part2]
description = "Attachments are all available via CDN"
module = "checks.remotesettings.attachments_availability"
params.server = "https://firefox.settings.services.mozilla.com/v1"
params.slice_percent = [50, 100]
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

No branches or pull requests

1 participant