Skip to content

Commit 1af4df6

Browse files
authored
feat(cockpit): retention updates (#4778)
1 parent c89a30f commit 1af4df6

File tree

9 files changed

+110
-88
lines changed

9 files changed

+110
-88
lines changed

changelog/may2024/2024-05-24-cockpit-added-cockpit-available-in-all-region.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ category: observability
99
product: cockpit
1010
---
1111

12-
Cockpit is now available in all three Scaleway regions: Paris, Amsterdam, and Warsaw. From the Scaleway console, you can now decide in which region to enable the [alert manager](/cockpit/concepts/#alert-manager) and your [preconfigured alerts](/cockpit/concepts/#preconfigured-alerts). You can also choose the regions in which to create your [data types](/cockpit/concepts/#data-types), [data sources](/cockpit/concepts/#data-sources), and [tokens](/cockpit/concepts/#tokens).
12+
Cockpit is now available in all three Scaleway regions: Paris, Amsterdam, and Warsaw. From the Scaleway console, you can now decide in which region to enable the [alert manager](/cockpit/concepts/#alert-manager) and your [preconfigured alerts](/cockpit/concepts/#preconfigured-alerts). You can also choose the regions in which to create your [data types](/cockpit/concepts/#data-types), [data sources](/cockpit/concepts/#data-sources), and [tokens](/cockpit/concepts/#cockpit-tokens).
1313

macros/cockpit/plan-deprecation.mdx

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22
macro: cockpit-plan-deprecation
33
---
44

5-
<Message type="important">
5+
<Message type="note">
66

7-
**Cockpit pricing plans were deprecated on January 1st 2025** <br /><br />
7+
**Pricing update for Cockpit custom retention** <br /><br />
88

9-
The [retention](/cockpit/concepts/#retention) period previously set for your Scaleway and custom logs, metrics and traces remains the same. <br /><br />
10-
You can change the retention period for your metrics, logs, and traces for free during the retention period edition beta (starting January 1st 2025). <br /><br />
11-
Find out [how to change data retention period](/cockpit/how-to/change-data-retention/) in the dedicated documentation.
9+
On January 1st, 2025, Cockpit pricing plans were deprecated and replaced by the custom [retention](/cockpit/concepts/#retention) feature, available for free during beta.
10+
On May 1st, 2025, this feature reaches general availability and **becomes billable**. <br /><br />
11+
12+
**Logs and traces**: free retention for 7 days, then charged €0.002/GB/day
13+
14+
**Metrics**: free retention for 31 days, then charged €0.0002/10 million samples/day
15+
16+
Ingestion of custom data remains billable at [the current pricing](/cockpit/faq/#how-am-i-billed-for-using-cockpit-with-custom-data).
17+
18+
Refer to the [dedicated documentation](/cockpit/how-to/change-data-retention/) to adjust retention settings.
1219
</Message>

pages/cockpit/concepts.mdx

Lines changed: 29 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@ content:
77
paragraph: 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.
88
tags: observability alert-manager contact-points endpoint grafana loki logql prometheus promql tokens
99
dates:
10-
validation: 2024-12-26
10+
validation: 2025-04-03
1111
categories:
1212
- observability
1313
---
1414

15-
## Active series
16-
17-
Active series refer to [time series](#time-series) for which the latest [samples](#samples) received by your Cockpit are less than 10 minutes old.
18-
1915
## Agent
2016

2117
An agent is a software component that runs on your systems to gather [data types](#data-types) from the host system or applications running on it. The agent then forwards this data to Cockpit for analysis and visualization.
@@ -28,16 +24,12 @@ An agent is a software component that runs on your systems to gather [data types
2824

2925
Alerting detects complex conditions defined by a rule and keeps you aware of issues in your environments. When a condition defined by a rule is met, the rule tracks it as an alert and responds by triggering one or more actions.
3026

31-
<Message type="important">
32-
The **Grafana alert manager** on the Grafana interface is inactive. We strongly recommend that you select the **Scaleway Alerting** alert manager if you want to manage your alerts using Grafana.
33-
</Message>
34-
3527
## Alert manager
3628

3729
Scaleway's regionalized alert manager allows you to manage and respond to alerts according to the regions you have enabled it in. It handles alerts sent when the alerting rules we run are firing. The alert manager triggers alerts (e.g. emails or texts) if a criteria you have configured on your applications' metrics and logs is activated.
3830

3931
<Message type="important">
40-
The **Grafana alert manager** on the Grafana interface is inactive. We strongly recommend that you select the **Scaleway Alerting** alert manager if you want to manage your alerts using Grafana.
32+
Scaleway does not support the **Grafana alert manager** on the Grafana interface. You must select the **Scaleway Alerting** alert manager if you want to manage your alerts using Grafana.
4133
</Message>
4234

4335
## Alerting rules
@@ -52,10 +44,23 @@ Alerting rules allow you to define criteria that determine whether an alert is t
5244

5345
A Cockpit is an instance of the Observability product that stores metrics, logs, and traces and provides a dedicated dashboarding system on Grafana to visualize them. A Scaleway Project can have only one Cockpit, which is automatically activated when you are using [Scaleway resources that are integrated into Cockpit](/cockpit/reference-content/cockpit-limitations/#product-integration-into-cockpit).
5446

47+
## Cockpit tokens
48+
49+
Tokens are regionalized secret keys that allow you to authenticate against the endpoints of your Cockpit's [data sources](#data-sources) (metrics, logs, alerts). You can generate new tokens and select token permissions such as:
50+
51+
- **Push**: allows you to send your metrics, logs, and traces to your Cockpit.
52+
- **Query**: allows you to fetch your metrics, logs, and traces from your Cockpit.
53+
- **Rules**: allow you to configure alerting and recording rules.
54+
- **Alerts**: allow you to set up the alert manager.
55+
5556
## Contact points
5657

5758
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.
5859

60+
## Custom data
61+
62+
Custom data is any data (metrics, logs or traces) that you may push to Cockpit. It can be data collected from your applications hosted at Scaleway or elsewhere.
63+
5964
## Data sources
6065

6166
Data sources are regionalized backends that allow you to store and fetch your metrics, logs, and traces. By default, **Scaleway data sources** are enabled if you are using [Scaleway resources integrated with Cockpit](/cockpit/reference-content/cockpit-limitations/#product-integration-into-cockpit) on your Project.
@@ -102,14 +107,6 @@ A Grafana user is any individual who can log in to [Grafana](https://grafana.com
102107

103108
Loki is the log aggregation system used by [Grafana](https://grafana.com/docs/grafana/latest/introduction/) to store and query your logs.
104109

105-
## Loki Remote Write
106-
107-
`Loki Remote Write` is the protocol used to push your logs to your Cockpit's logs' endpoint.
108-
109-
## LogQL
110-
111-
LogQL is [Grafana Loki’s language](https://grafana.com/docs/loki/latest/logql/) for querying logs. LogQL uses labels and operators for filtering.
112-
113110
## Logs
114111

115112
Logs are a data type that provides a record of all events and errors taking place during the lifecycle of your resources. They represent an excellent source of visibility if you want to know when a problem occurred, or which events correlate with it.
@@ -138,22 +135,10 @@ You can push metrics with any Prometheus-compatible agent such as [Prometheus](h
138135

139136
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.
140137

141-
## Prometheus Remote Write
142-
143-
`Prometheus Remote Write` is the protocol used to push your metrics to your Cockpit's metrics' endpoint.
144-
145-
## PromQL
146-
147-
PromQL, short for Prometheus Querying Language, is the main way to query metrics within Prometheus. It is designed for building queries for graphs and alerts.
148-
149138
## Receivers
150139

151140
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.
152141

153-
## Recording rules
154-
155-
Recording rules allow you to precompute frequently needed or computationally expensive expressions and save their results as a new set of time series.
156-
157142
## Region
158143

159144
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).
@@ -162,45 +147,37 @@ You can decide in which region to enable the [alert manager](#alert-manager) and
162147

163148
## Retention
164149

165-
Retention or data retention refers to the duration for which data, such as metrics, logs, or traces, 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.
150+
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.
166151

167152
The minimum and maximum retention periods for each data source type are as follows:
168153

169-
| Custom metrics | Custom logs/traces | Scaleway metrics | Scaleway logs/traces |
170-
|------------------------------------------------|---------------------------------------------|------------------------------------------------|---------------------------------------------|
171-
| Minimum retention period: 1 day | Minimum retention period: 1 day | Minimum retention period: 31 days | Minimum retention period: 1 day |
172-
| Maximum retention period: 365 days (12 months) | Maximum retention period: 31 days (1 month) | Maximum retention period: 365 days (12 months) | Maximum retention period: 31 days (1 month) |
173-
| Default retention period: 31 days | Default retention period: 7 days | Default retention period: 31 days | Default retention period: 7 days |
154+
| Retention period | Custom metrics | Custom logs/traces | Scaleway metrics | Scaleway logs |
155+
|-------------------|-------------------|--------------------|-------------------|----------------------|
156+
| Minimum retention | 1 day | 1 days | 31 days | 1 day |
157+
| Maximum retention | 365 days (1 year) | 31 days | 365 days (1 year) | 31 days |
158+
| Default retention | 31 days | 7 days | 31 days | 7 days |
159+
160+
**Starting May 1, 2025, the maximum retention period for custom and Scaleway metrics, logs and traces will be of 1825 days (5 years)**. The information on the table above will be updated accordingly.
174161

175162
## Samples
176163

177164
A sample is a unique measuring point on a time series.
178165

166+
## Scaleway data
167+
168+
Scaleway data is the observability data (metrics and/or logs) that is natively collected by all Scaleway products, integrated with Cockpit.
169+
Refer to the [dedicated documentation page](/cockpit/reference-content/cockpit-limitations/#product-integration-into-cockpit) to find out which resources are integrated with Cockpit.
170+
179171
## Tempo
180172

181173
Tempo is [Grafana's open source](https://grafana.com/docs/tempo/latest/) tracing tool that allows you to search for traces, generate metrics from them, and link your tracing data with logs and metrics. Tempo can be used with open-source tracing protocols such as [Jaeger](https://www.jaegertracing.io/docs/1.50/), [Zipkin](https://zipkin.io/), and [OpenTelemetry](https://opentelemetry.io/docs/what-is-opentelemetry/).
182174

183-
<Message type="important">
184-
During the beta of the traces feature, only the [OpenTelemetry](https://opentelemetry.io/docs/what-is-opentelemetry/) HTTP push path is supported. Scaleway is working on implementing the [Open Telemetry gRPC](https://opentelemetry.io/docs/specs/semconv/rpc/grpc/), [Zipkin](https://zipkin.io/) and [Jaeger](https://www.jaegertracing.io/docs/1.50/) protocols.
185-
</Message>
175+
Scaleway only supports the OpenTelemetry HTTP push path.
186176

187177
## Time series
188178

189179
A time series is a sequence of numerical data points in successive order, that tracks the value of a parameter over time. Example of parameter: the disk usage of a machine hosting a database, expressed in percentage.
190180

191-
## Tokens
192-
193-
Tokens are regionalized secret keys that allow you to authenticate against your Cockpit's endpoints (metrics, logs, alerts). You can generate new tokens and select token permissions such as:
194-
195-
- **Push**: allows you to send your metrics, logs, and traces to your Cockpit.
196-
- **Query**: allows you to fetch your metrics, logs, and traces from your Cockpit.
197-
- **Rules**: allow you to configure alerting and recording rules.
198-
- **Alerts**: allow you to set up the alert manager.
199-
200-
## TraceQL
201-
202-
[TraceQL](https://grafana.com/docs/tempo/latest/traceql/) is Grafana Tempo's query language designed for searching and extracting traces.
203-
204181
## Traces
205182

206183
Traces are detailed records of your **requests' behavior**, as they move through distributed systems such as microservices and containers.

pages/cockpit/faq.mdx

Lines changed: 49 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta:
55
content:
66
h1: Cockpit FAQ
77
dates:
8-
validation: 2024-11-25
8+
validation: 2025-03-27
99
category: observability
1010
productIcon: CockpitProductIcon
1111
---
@@ -23,27 +23,37 @@ Cockpit integrates seamlessly with Scaleway’s ecosystem. It provides pre-built
2323

2424
Refer to the [dedicated documentation page](/cockpit/reference-content/cockpit-limitations/#product-integration-into-cockpit) for the whole list of Scaleway resources integrated with Cockpit.
2525

26-
## How am I billed for using Cockpit with my Scaleway data?
26+
## What is the difference between Scaleway and custom data?
27+
28+
[Scaleway data](#scaleway-data) is collected automatically from Scaleway products, while [custom data](#custom-data) is manually pushed from your own sources.
29+
30+
### Scaleway data
31+
32+
Scaleway data is the observability data (metrics and/or logs) that is natively collected by all [Scaleway products integrated with Cockpit](/cockpit/reference-content/cockpit-limitations/#product-integration-into-cockpit).
2733

28-
Using Cockpit with your Scaleway data is free of charge.
34+
### Custom data
2935

30-
During the beta phase of the retention period edition feature, the retention period you set for your data - whether from [Scaleway resources integrated with Cockpit](/cockpit/reference-content/cockpit-limitations/#product-integration-into-cockpit) or custom data - will be free of charge.
36+
Custom data refers to any metrics, logs, or traces that you manually push to Cockpit. This can include data from applications hosted at Scaleway or any other platform.
3137

32-
Additional costs apply for sending custom data to Cockpit. This means that you will be billed for sending **data from Scaleway resources that are not integrated with Cockpit**, or data from any other external resources.
38+
## How am I billed for using Cockpit with my Scaleway data?
39+
40+
Scaleway data is collected and available in Cockpit for free. Retention is also free as long as it stays within the default period: 31 days for metrics and 7 days for logs.
41+
42+
You can [adjust the retention period](/cockpit/how-to/change-data-retention) from 1 day (for logs) or 31 days (for metrics) to 1 year. Refer to the [dedicated documentation](/cockpit/concepts/#retention) for more information on available retention periods. However, starting May 1, 2025, data stored beyond the default period will incur charges based on daily storage volume.
3343

3444
## How am I billed for using Cockpit with custom data?
3545

36-
Custom data is any data that is external to Scaleway, or **data from Scaleway resources not integrated with Cockpit**. Refer to the [dedicated documentation page](/cockpit/reference-content/cockpit-limitations/#product-integration-into-cockpit) to find out which resources are integrated with Cockpit.
46+
Sending custom data to Cockpit such as data from non-integrated Scaleway resources or external sources incurs additional costs.
3747

38-
During the beta of the retention period edition feature, the retention period you set for your custom data is free of charge.
48+
Retention of custom data is free within the default period: 31 days for custom metrics and 7 days for custom logs and traces. You can [adjust the retention period](/cockpit/how-to/change-data-retention) from 1 day (for logs and traces) and 31 days (for metrics) to 1 year. However, starting May 1, 2025, data stored beyond the default period will be charged based on daily storage volume.
3949

40-
You will not be charged for **querying** custom data.
50+
Querying custom data is always free.
4151

42-
Data ingestion is billed as follows:
52+
Ingestion for custom data is billed as follows:
4353

44-
- Custom metrics are billed €0.15 per million samples of metrics ingested, per month.
45-
- Custom logs are billed €0.35 per GB ingested, per month.
46-
- Custom traces are billed €0.35 per GB ingested, per month.
54+
- Custom metrics are billed €0.15 per million samples of metrics ingested
55+
- Custom logs are billed €0.35 per GB ingested
56+
- Custom traces are billed €0.35 per GB ingested
4757

4858
Scaleway applies volume discounts to bill custom metrics. This means that the monthly pricing for custom metrics will be calculated in levels. **Scaleway applies six levels of volume discounts.**
4959

@@ -59,14 +69,40 @@ Scaleway applies volume discounts to bill custom metrics. This means that the mo
5969

6070
Here is an example of how you would be billed for **sending 52 billion custom metrics samples per month**:
6171

62-
Here is an example of how you would be billed for sending 52 billion custom metrics samples per month:
6372
- 10 billion samples at €0.15 per million samples: €1.500
6473
- 15 billion samples at €0.13 per million samples: €1.950
6574
- 25 billion samples at €0.12 per million samples: €3.000
6675
- 2 billion samples at €0.11 per million samples: €220
6776

6877
**Total:** €6.650 per month with volume discounts instead of €7.800 without volume discounts.
6978

79+
## How am I billed for increasing data retention period?
80+
81+
All ingested data, whether from Scaleway or custom sources, is retained for free within the default periods:
82+
- **Metrics:** 31 days
83+
- **Logs and traces:** 7 days
84+
85+
**Starting May 1, 2025, data retained beyond these periods will be charged** based on daily storage volume:
86+
87+
- **Metrics:** €0.0002 per 10 million samples/day
88+
- **Logs and traces:** €0.002 per GB/day
89+
90+
If you delete your data source or reduce its retention period below the default value, data will be deleted and you will no longer be charged for extended retention.
91+
92+
<Concept>
93+
## See custom retention pricing examples
94+
### For 10 days of retention
95+
If you ingest an average of **2GB of logs daily** and increase retention to **10 days**. Retention is free for the first **7 days**, so you are only charged for the extra **3 days**:
96+
97+
**Monthly estimated cost:**
98+
`retention_cost` = 2 GB x (10 - 7) x 0.002€ x 30 days = 0.36€/month
99+
100+
### For 90 days of retention
101+
If you extend retention to **90 days**, you are charged for the extra **83 days** beyond the free period:
102+
**Monthly estimated cost:**
103+
`retention_cost` = 2 GB x (90 - 7) x 0.002€ x 30 days = 9.96€/month
104+
</Concept>
105+
70106
## Why are Cockpit pricing plans being deprecated?
71107

72108
From January 1st 2025, Cockpit is transitioning away from fixed pricing plans to offer you more flexibility and granularity for managing data [retention](/cockpit/concepts/#retention).

0 commit comments

Comments
 (0)