Comments (2)
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 channels
key 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:
# If a check with slug "sample-slug" does not exist, create it and assign all channels
GET /sample-ping-key/sample-slug/?create=1
# If a check with slug "sample-slug" does not exist, create it but do not assign any channels
GET /sample-ping-key/sample-slug/?create=1&channels=
(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:
from healthchecks.
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:
https://github.com/apollo13/healthchecks/blob/e546a1325ba04a2c74ea16accae8ed79b2185505/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).
from healthchecks.
Related Issues (20)
- RP_ID can't be changed after initial deployment? HOT 2
- Unable to use different domains for web GUI and pings? HOT 2
- [Docker] replace pip with apt HOT 1
- Feature request: High-Availability HOT 2
- Alert gets sent even though check is OK HOT 2
- SITE_ROOT in local_settings.py HOT 2
- New type of API key: read-only, but returns check and channel UUIDs HOT 3
- gotify integration should allow to set priorities
- Slack legacy webhook integration HOT 2
- Mute all checks while updating HOT 3
- Get informed if job run time is too short HOT 2
- Hi, how to fix this error ,please help me, whenever user register it gives: SMTPAuthenticationError at /accounts/register/ (535, b'Incorrect authentication data')
- [docker] .env includes DEBUG=False yet banner still states "Running in debug mode, do not use in production." HOT 2
- Slack integration - default integration name to channel name HOT 1
- Unexpected "down" after sending ping HOT 2
- Read only user can create project, can we have "true" read only users ? HOT 2
- Discord Webhook integration HOT 4
- Return UUID in "List Existing Checks" response
- check display
- Allow use of slugs for E-Mail pings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from healthchecks.