-
Notifications
You must be signed in to change notification settings - Fork 261
cockpit(add): new alerts tab update #5347
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
563def7
docs(add): rework part one
nerda-codes ab66274
docs(cpt): updates
nerda-codes f5c1d66
docs(fix): fix title in menu
nerda-codes 63d320c
docs(fix): fix
nerda-codes 91af1d7
docs(fix): typos
nerda-codes 2278345
Apply suggestions from code review
nerda-codes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,46 @@ | ||
| --- | ||
| title: How to activate Scaleway preconfigured alerts | ||
| description: Learn how to activate preconfigured alerts for your Cockpit resources using the Scaleway console. | ||
| categories: | ||
| - observability | ||
| dates: | ||
| validation: 2025-04-08 | ||
| validation: 2025-07-29 | ||
| posted: 2024-04-05 | ||
| --- | ||
| import Requirements from '@macros/iam/requirements.mdx' | ||
|
|
||
| import CustomAlertsTab from './assets/scaleway-custom-alerts-tab.webp' | ||
|
|
||
| This page shows you how to activate [preconfigured alerts](/cockpit/concepts/#preconfigured-alerts) for your Cockpit resources using the [Scaleway console](https://console.scaleway.com/). | ||
|
|
||
| This page shows you how to activate [preconfigured alerts](/cockpit/concepts/#preconfigured-alerts) for your Cockpit resources. | ||
|
|
||
| <Requirements /> | ||
|
|
||
| - A Scaleway account logged into the [console](https://console.scaleway.com) | ||
| - [Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager | ||
| - [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization | ||
| - [Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager | ||
| - [Added contacts](/cockpit/how-to/add-contact-points/) | ||
|
|
||
| ## How to activate preconfigured alerts | ||
|
|
||
| 1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays. | ||
|
|
||
| 2. Click the **Alerts** tab. | ||
|
|
||
| 3. Click **Enable** under the **Scaleway preconfigured alerts** section. Select the regions you want to enable the alerts in. | ||
|
|
||
| <Message type="note"> | ||
| - You can only enable preconfigured alerts in the regions you have enabled the alert manager. | ||
| - If you want to receive alerts, you also need to [add contact points](/cockpit/how-to/add-contact-points/). | ||
| </Message> | ||
| 3. Click the **Region** drop-down and select the desired region. | ||
| <Message type="important"> | ||
| Make sure that you select the same region as the [data sources](/cockpit/concepts/#data-sources) you want to be alerted for. | ||
| </Message> | ||
| 4. Scroll to the **Alert management** section. This section allows you to manage (enable, disable and visualize) [Scaleway preconfigured alerts](/cockpit/concepts/#preconfigured-alerts) or custom alerts. | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 5. From the **Preconfigured** tab, click the down arrow next to the Scaleway product of your choice to view available alerts. | ||
| 6. Under the **Activation** section, tick the checkboxes next to the alerts you want to activate. | ||
| 7. Click **Save changes**. A pop-up appears summarizing the number of alerts you are about to enable and the total of enabled alerts you will have after you confirm. | ||
| <Message type="tip"> | ||
| If you have created alerting or recording rules in Grafana, the total of enabled alerts includes your Scaleway preconfigured alerts and the ones you have in Grafana. | ||
| </Message> | ||
| 8. Click **Save changes** to confirm. | ||
|
|
||
| <Message type="note"> | ||
| If you have created custom alerts in Grafana, you can visualize them in the **Custom** tab. | ||
| <Lightbox image={CustomAlertsTab} alt="" /> | ||
| </Message> | ||
|
|
||
| Your enabled alerts display in the **Overview** as **enabled rules**. Enabled rules include your Scaleway or custom alerts, as well as [recording rules](/cockpit/concepts/#recording-rules) you may have created in Grafana. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,50 @@ | ||
| --- | ||
| title: How to add contact points | ||
| description: Learn how to add contact points to the default receiver using the Scaleway console. Follow the steps to enter email addresses, select regions, and optionally send test alerts. | ||
| title: How to manage contacts | ||
| description: Learn how to configure and manage contacts to notify when alerts are triggered or resolved using the Scaleway console. Follow the steps to configure contacts, choose whether to be notified when alerts are resolved, and send test alerts. | ||
| categories: | ||
| - observability | ||
| dates: | ||
| validation: 2025-07-22 | ||
| validation: 2025-07-29 | ||
| posted: 2024-04-05 | ||
| --- | ||
| import Requirements from '@macros/iam/requirements.mdx' | ||
|
|
||
|
|
||
| This page shows you how to associate [contact points](/cockpit/concepts/#contact-points) with the default [receiver](/cockpit/concepts/#receivers) using the [Scaleway console](https://console.scaleway.com/). | ||
| This page shows you how to add and manage [contacts](/cockpit/concepts/#contacts) to ensure the right people are notified when alerts are triggered or resolved using the [Scaleway console](https://console.scaleway.com/). | ||
|
|
||
| You are prompted to create contacts when [enabling the alert manager](/cockpit/how-to/enable-alert-manager/) for the first time, or when re-enabling it after disabling. However, you can also perform this step independently from the alert manager configuration at any time. | ||
|
|
||
| <Requirements /> | ||
|
|
||
| - A Scaleway account logged into the [console](https://console.scaleway.com) | ||
| - [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization | ||
| - [Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager | ||
|
|
||
| ## Add contact points | ||
| ## How to add contacts | ||
|
|
||
| 1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays. | ||
| 2. Click the **Alerts** tab. | ||
| 3. Click the **Region** drop-down and select the desired region. | ||
| <Message type="important"> | ||
| Make sure that you select the same region as the [data sources](/cockpit/concepts/#data-sources) you want your contacts to be alerted for. | ||
| </Message> | ||
| 4. Click **Add email** in the **Contacts** section. A pop-up displays. | ||
| 5. Enter an email address, then click **+ Add email**. Your email address displays and by default, the **Resolved notifications** checkbox is ticked. This means that you will receive notifications for resolved alerts. | ||
| 6. Optionally, enter another email and click **+ Add email** to add another contact. | ||
| 7. Click **Add contacts** to confirm. The email addresses appears in the list of your contacts. | ||
|
|
||
| ## How to manage contacts | ||
|
|
||
| 1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays. | ||
| 2. Click the **Alerts** tab. | ||
| 3. Click **+ Add email** in the **Default receiver’s contact points** section. A pop-up displays. | ||
| 4. Enter the email address you wish to add as a contact point. | ||
| 5. Choose the regions in which you want to add the contact point. | ||
| <Message type="important"> | ||
| Make sure that you choose the same regions as the data sources for which you want to receive alerts. | ||
| </Message> | ||
| 6. Click **Add email address**. The email address appears in the list of your contact points. | ||
| 7. Optionally, if you have [activated preconfigured alerts](/cockpit/how-to/activate-managed-alerts/), click **Send test alert** to ensure that your alerts are sent to your contact points. | ||
| 3. Click the **Region** drop-down and select the desired region. | ||
| <Message type="important"> | ||
| Make sure that you select the same region as the [data sources](/cockpit/concepts/#data-sources) you want your contacts to be alerted for. | ||
| </Message> | ||
| 4. Scroll to the **Contacts** section and: | ||
| - click **Send test alert** to ensure that your alerts are sent to your contacts. You **must have [activated preconfigured alerts](/cockpit/how-to/activate-managed-alerts/)** beforehand. | ||
| - clear the checkbox under **Resolved notifications** to **stop receiving resolved notifications**. | ||
| - click the trash icon next to the contact you wish to **delete**. | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <Message type="important"> | ||
| The contact you delete will no longer receive alerts. If this is your only configured contact, alert notifications will stop until you add a new contact. | ||
| </Message> | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.