Repository navigation
docs(constructs): document the CLI refusals for alert channels the plan doesn't cover [RED-1569] #880
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
docs(constructs): document the CLI refusals for alert channels the plan doesn't cover [RED-1569] #880
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,4 +65,23 @@ If your `fromId()` references an invalid alert channel, the CLI will throw an er | |
|
|
||
| This is useful if you have multiple CLI projects, since you can reference the same alert channel in each project without needing to redefine it each time. | ||
|
|
||
| If you have a single CLI project, instead of using `fromId()`, we recommend defining your alert channel within that CLI project and referencing its JS/TS object. This allows your alert channel to be managed as code alongside your other CLI resources, which makes it easier to manage and scale your alerting setup. | ||
| If you have a single CLI project, instead of using `fromId()`, we recommend defining your alert channel within that CLI project and referencing its JS/TS object. This allows your alert channel to be managed as code alongside your other CLI resources, which makes it easier to manage and scale your alerting setup. | ||
|
|
||
| ## Integrations not included in your plan | ||
|
|
||
| <Note>Enforced since CLI v10.5.0.</Note> | ||
|
|
||
| `checkly validate`, `checkly test` and `checkly deploy` refuse an alert channel whose integration your plan doesn't include. This applies to new channels and to channels you deployed before: | ||
|
|
||
| ```text | ||
| ✖ [PagerdutyAlertChannel:pagerduty-1] Integration not included in your plan | ||
|
|
||
| This feature uses PagerDuty, which your plan doesn't include. | ||
|
|
||
| Hint: Upgrade your plan at https://app.checklyhq.com/accounts/<id>/billing, | ||
| or stop using PagerDuty in your project. | ||
| ``` | ||
|
Comment on lines
+76
to
+83
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wording: This block is the message text from the CLI PR, not what the terminal shows. The CLI prints validation errors with a Once the CLI is released, paste the output of a real run here.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in e9f341f: the block now has the |
||
|
|
||
| To fix it, [upgrade your plan](https://www.checklyhq.com/pricing/) or remove the channel from your project. | ||
|
|
||
| The CLI asks the Checkly API which integrations your account can use and checks each alert channel construct against that list. It doesn't check an `EmailAlertChannel`, or a `WebhookAlertChannel` without a `webhookType` or with one the CLI doesn't know. Channels you reference with [`fromId()`](#using-fromid-to-reference-an-existing-channel) aren't checked either. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| <Note> | ||
| Since CLI v10.5.0, if your plan doesn't include {integration}, `checkly validate`, `checkly test` and `checkly deploy` refuse this channel. See [Integrations not included in your plan](/constructs/alert-channel#integrations-not-included-in-your-plan). | ||
| </Note> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocker: This isn't true yet. With the released CLI (10.4.0) on local Checkly, a
PagerdutyAlertChannelon a Hobby account passescheckly validate. The refusal needs checkly/checkly-cli#1617 (open) and an API change that reports which integrations the plan includes (not on the backend's main branch yet). Merge after both are live, and say from which CLI version this applies, for example: "Since CLI version X,checkly testandcheckly deployrefuse…".There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved: the API change is deployed (the account routes now report
entitledper integration) and the check shipped in CLI 10.5.0. The section now says "Enforced since CLI v10.5.0.", and the notes say "Since CLI v10.5.0, …".