|
| 1 | +--- |
| 2 | +meta: |
| 3 | + title: How to change your data retention period |
| 4 | + description: Discover how to adjust data retention settings for metrics, logs, and traces in Cockpit. |
| 5 | +content: |
| 6 | + h1: How to change your data retention period |
| 7 | + paragraph: Discover how to adjust data retention settings for metrics, logs, and traces in Cockpit. |
| 8 | +tags: cockpit data-retention retention-period edit-retention |
| 9 | +categories: |
| 10 | + - observability |
| 11 | +dates: |
| 12 | + validation: 2024-11-25 |
| 13 | + posted: 2024-11-25 |
| 14 | +--- |
| 15 | + |
| 16 | +This page shows you how to change the [retention](/observability/cockpit/concepts/#retention) period for your data sources. **This feature will be available only starting January 1st 2025**. |
| 17 | + |
| 18 | +<Message type="important"> |
| 19 | + |
| 20 | + **Cockpit pricing plans are scheduled for deprecation on January 1st 2025** <br /><br /> |
| 21 | + |
| 22 | + The [retention](/observability/cockpit/concepts/#retention) period previously set for your Scaleway and custom logs, metrics and traces will remain the same after that date. <br /><br /> |
| 23 | + You will be able to change the retention period for your metrics, logs, and traces for free during Beta (starting January 1st 2025). <br /><br /> |
| 24 | +</Message> |
| 25 | + |
| 26 | +<Macro id="requirements" /> |
| 27 | + |
| 28 | + - A Scaleway account logged into the [console](https://console.scaleway.com) |
| 29 | + - [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization |
| 30 | + |
| 31 | +1. Click **Cockpit** in the Observability section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays. |
| 32 | +2. Click the **Data sources** tab. |
| 33 | +3. Click the <Icon name="more" /> icon next to the data source you want to change the retention period for. |
| 34 | + <Message type="tip"> |
| 35 | + You can change the retention period for both Scaleway and custom data sources. Each data source can have a different retention period. |
| 36 | + </Message> |
| 37 | +4. Click **More info**. The **Data source information** page displays. |
| 38 | +5. Click the **Edit retention** button and drag the slider to adjust the retention period: |
| 39 | + - Drag the slider to the **right to increase** your retention period, or |
| 40 | + - Drag the slider to the **left to decrease** the retention period. |
| 41 | + |
| 42 | + <Message type="important"> |
| 43 | + - Reducing the retention period of a data source will permanently delete all observability data in that data source beyond the selected timeframe. This deletion is irreversible and takes effect a few minutes after the retention period is reduced, even if the retention period is later increased. |
| 44 | + - Find out about the [retention periods available for each data source type](/observability/cockpit/concepts/#retention). |
| 45 | + </Message> |
| 46 | +6. Click **Edit retention period** to confirm. |
| 47 | + |
| 48 | + <Message type="note"> |
| 49 | + Adjusting data retention is free of charge during Beta. |
| 50 | + </Message> |
0 commit comments