mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #903] Allow configurable integration auto-assign per project #636
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#636
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @apollo13 on GitHub (Oct 6, 2023).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/903
I'd like to add a setting to project which configures the auto assignment of integrations to all available checks. It could be a simple boolean on the project settings page. Would you like to see that feature?
@cuu508 commented on GitHub (Oct 25, 2023):
Thanks for the suggestion.
I'd like to avoid adding modes to interfaces as much as possible, so I've been thinking about alternatives.
The Management API users can already specify a
channelskey when creating a new check, so they can set the default value on the client side.For Ping API, and auto-provisioning, the "should we assign all integrations" flag could perhaps go in the URL:
(and perhaps more configuration options could go there in future)
For the web interface, we could add a checkbox in the "Add Check" dialog. Checked by default to match the current default, but the user can uncheck it:
@apollo13 commented on GitHub (Oct 25, 2023):
Ah yes, a checkbox there would do. There is another instance though where such a checkbox would probably be useful, namely when creating an integration/channel it is assigned to all checks as well:
github.com/apollo13/healthchecks@e546a1325b/hc/front/views.py (L1284)Since this affects existing checks I'd like to have a way to prevent that as well (a checkbox would do I guess).