mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #124] Automatically assign checks to integrations #82
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#82
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 @bellini666 on GitHub (May 22, 2017).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/124
After you create an integration (email/pushover/telegram/etc) it will not assign new checks automatically to it and you have to do that manually.
That is a huge problem when you have lots of checks and lots of them are created every time. For example, in the company that I work we use healthchecks for some services that we deploy. We usually create ~10 new checks per week using the api (i.e. it is not created manually). That means that from time to time I have to go to the integrations page and manually assign the missings checks to all the integrations that I have there.
I understand that there are some people that probably wouldn't like the "auto async" thing so my suggestion is to make that configurable for each integration: Add a checkbutton there to verify if "New checks should be automatically assigned".
@cuu508 commented on GitHub (May 22, 2017):
Hi Thiago,
one of the parameters for the "Create a check" API call is "channels". If you set it to "*", the check will be assigned to all existing channels. By setting this field, you can match the UI behavior: when a check is added from UI, it is assigned to all existing checks.
Would the
"channels": "*"help your use case?@bellini666 commented on GitHub (May 22, 2017):
@cuu508 oh, I didn't know about that
channels. Yes it worked great! Marking this as closed, thank you!