Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion menu/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3722,7 +3722,7 @@
"slug": "activate-managed-alerts"
},
{
"label": "Add contact points",
"label": "Manage contacts",
"slug": "add-contact-points"
},
{
Expand Down
16 changes: 11 additions & 5 deletions pages/cockpit/concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ title: Cockpit - Concepts
description: Explore Scaleway Observability concepts including metrics, logs, and alerts management through Cockpit. Learn about agents, alerting rules, Grafana integration, and data types for comprehensive monitoring.
tags: observability alert-manager contact-points endpoint grafana loki logql prometheus promql tokens
dates:
validation: 2025-06-04
validation: 2025-07-22
categories:
- observability
---
import image from './assets/scaleway-traces-concept.webp'

Expand Down Expand Up @@ -49,9 +51,9 @@ Tokens are regionalized secret keys that allow you to authenticate against the e
- **Rules**: allow you to configure alerting and recording rules.
- **Alerts**: allow you to set up the alert manager.

## Contact points
## Contacts

Contact points define who is notified when an alert fires, according to the region in which you have added them. Contact points include emails, Slack, on-call systems, and texts. When an alert fires, all contact points are notified.
Contacts define who gets notified when an alert is triggered or [resolved](#resolved-notifications). Contacts can include email addresses, Slack channels, on-call systems, or phone numbers for text messages. When an alert fires, all configured contacts are notified.

## Custom data

Expand Down Expand Up @@ -131,16 +133,20 @@ You can push metrics with any Prometheus-compatible agent such as [Prometheus](h

A preconfigured dashboard is a set of one or more panels that Scaleway sets up and updates for you to visualize the metrics and logs associated with your Scaleway products.

## Receivers
## Recording rules

Receivers are hubs consisting of contact points. You can associate one or several alerts with one or more receivers. This allows you to diversify your alerts.
Recording rules are custom queries that run automatically at regular intervals and save the results under a simple name. They let you precompute important or heavy queries ahead of time, so your dashboards and alerts load faster and use less computing power.

## Region

A region is the geographical area in which your Cockpit data is stored. They are duplicated on all Availability Zones of the selected regions (Paris, Amsterdam, or Warsaw).

You can decide in which region to enable the [alert manager](#alert-manager) and your [preconfigured alerts](#preconfigured-alerts). You can also choose the regions in which to create your [data types](#data-types), [data sources](#data-sources), and [tokens](#tokens).

## Resolved notifications

Resolved notifications are alerts your contacts receive to let them know that a previously triggered alert has been fixed or is no longer firing.

## Retention

Retention or data retention refers to the duration for which the data (metrics, logs, and traces) pushed to Cockpit (by Scaleway products or yourself) is stored before being automatically deleted. Retention allows you to manage the lifecycle of your Scaleway and custom data by selecting storage periods that align with your needs.
Expand Down
39 changes: 28 additions & 11 deletions pages/cockpit/how-to/activate-managed-alerts.mdx
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.
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.
46 changes: 33 additions & 13 deletions pages/cockpit/how-to/add-contact-points.mdx
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**, then click **Delete contact** to confirm.
<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.
Loading