From 6d769514129d5f39a11897597f754d6d6aaae98c Mon Sep 17 00:00:00 2001 From: nerda-codes Date: Fri, 25 Apr 2025 17:44:58 +0200 Subject: [PATCH 1/4] docs(cpt): add region storage info --- pages/cockpit/faq.mdx | 22 +++++++++++++++++-- .../reference-content/cockpit-limitations.mdx | 18 +++++++++++++++ 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/pages/cockpit/faq.mdx b/pages/cockpit/faq.mdx index bf749180e1..ca57aacbb2 100644 --- a/pages/cockpit/faq.mdx +++ b/pages/cockpit/faq.mdx @@ -30,11 +30,29 @@ Scaleway data is the observability data (metrics and/or logs) that is natively c 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. +## Where does Cockpit store data? + +### Scaleway data + +Cockpit stores Scaleway data in the same region as the Scaleway resource that produces it: + +- Metrics and logs collected from a Scaleway resource are stored in that region’s data source as **Scaleway Metrics** or **Scaleway Logs**. + +- You cannot configure a different region for where this automatically collected data is stored. + +### Custom data + +In order for Cockpit to store you custom data, you must first create a custom data source in a region of your choice. The data you send will then be stored in that custom data source’s region and will not be replicated across other regions. + +Even though data is region-bound, your Cockpit Grafana instance can query and visualize data across all regions where you have data sources. + +If you are using Scaleway’s preconfigured dashboards in Grafana, make sure you have selected the region of the resource you want to monitor using the drop-down at the top of the dashboard. This filters the dashboards to only show data from the matching regional data-source. + ## How am I billed for using Cockpit with my Scaleway data? -Scaleway data is collected and available in Cockpit for free. +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. +Retention is also free as long as it stays within the default period: 31 days for metrics and 7 days for logs. 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. ## How am I billed for using Cockpit with custom data? diff --git a/pages/cockpit/reference-content/cockpit-limitations.mdx b/pages/cockpit/reference-content/cockpit-limitations.mdx index 706960703c..375aed45c7 100644 --- a/pages/cockpit/reference-content/cockpit-limitations.mdx +++ b/pages/cockpit/reference-content/cockpit-limitations.mdx @@ -17,6 +17,24 @@ categories: This page provides information about the capabilities and limits of Scaleway's Observability Cockpit. +## Cockpit data storage information + +### Scaleway data + +Cockpit stores Scaleway data in the same region as the Scaleway resource that produces it: + +- Metrics and logs collected from a Scaleway resource are stored in that region’s data source as **Scaleway Metrics** or **Scaleway Logs**. + +- You cannot configure a different region for where this automatically collected data is stored. + +### Custom data + +In order for Cockpit to store you custom data, you must first create a custom data source in a region of your choice. The data you send will then be stored in that custom data source’s region and will not be replicated across other regions. + +Even though data is region-bound, your Cockpit Grafana instance can query and visualize data across all regions where you have data sources. + +If you are using Scaleway’s preconfigured dashboards in Grafana, make sure you have selected the region of the resource you want to monitor using the drop-down at the top of the dashboard. This filters the dashboards to only show data from the matching regional data-source. + ## Retention period of your data Scaleway offers several retention periods, depending on your [data types](/cockpit/concepts/#data-types). From e57ab7109784838f90af452a58513c606b879bd4 Mon Sep 17 00:00:00 2001 From: nerda-codes Date: Fri, 2 May 2025 15:33:20 +0200 Subject: [PATCH 2/4] docs(cpt): add faq question --- pages/cockpit/faq.mdx | 4 ++-- pages/cockpit/reference-content/cockpit-limitations.mdx | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/cockpit/faq.mdx b/pages/cockpit/faq.mdx index ca57aacbb2..39d524930e 100644 --- a/pages/cockpit/faq.mdx +++ b/pages/cockpit/faq.mdx @@ -5,7 +5,7 @@ meta: content: h1: Cockpit FAQ dates: - validation: 2025-04-09 + validation: 2025-05-02 category: observability productIcon: CockpitProductIcon --- @@ -42,7 +42,7 @@ Cockpit stores Scaleway data in the same region as the Scaleway resource that pr ### Custom data -In order for Cockpit to store you custom data, you must first create a custom data source in a region of your choice. The data you send will then be stored in that custom data source’s region and will not be replicated across other regions. +In order for Cockpit to store you custom data, you must first [create a custom data source](/cockpit/how-to/create-external-data-sources/) in a region of your choice. The data you send will then be stored in that custom data source’s region and will not be replicated across other regions. Even though data is region-bound, your Cockpit Grafana instance can query and visualize data across all regions where you have data sources. diff --git a/pages/cockpit/reference-content/cockpit-limitations.mdx b/pages/cockpit/reference-content/cockpit-limitations.mdx index 375aed45c7..1b7cc751b9 100644 --- a/pages/cockpit/reference-content/cockpit-limitations.mdx +++ b/pages/cockpit/reference-content/cockpit-limitations.mdx @@ -19,6 +19,8 @@ This page provides information about the capabilities and limits of Scaleway's O ## Cockpit data storage information +Refer to the [Cockpit FAQ](/cockpit/faq/#where-does-cockpit-store-data) to understand where Cockpit stores Scaleway and custom data. + ### Scaleway data Cockpit stores Scaleway data in the same region as the Scaleway resource that produces it: From 78ce772b1e39e0134dd1ee17184e3cb6d7d8e4bb Mon Sep 17 00:00:00 2001 From: nerda-codes Date: Fri, 2 May 2025 15:34:41 +0200 Subject: [PATCH 3/4] docs(cpt): update --- .../reference-content/cockpit-limitations.mdx | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/pages/cockpit/reference-content/cockpit-limitations.mdx b/pages/cockpit/reference-content/cockpit-limitations.mdx index 1b7cc751b9..0e9151427f 100644 --- a/pages/cockpit/reference-content/cockpit-limitations.mdx +++ b/pages/cockpit/reference-content/cockpit-limitations.mdx @@ -7,7 +7,7 @@ content: paragraph: Discover the capabilities and limits of Cockpit, including retention periods, Loki and Mimir limits, and product integrations for comprehensive infrastructure monitoring and management efficiency. tags: observability cockpit retention metrics logs dates: - validation: 2024-11-25 + validation: 2024-05-02 posted: 2023-09-05 categories: - observability @@ -21,22 +21,6 @@ This page provides information about the capabilities and limits of Scaleway's O Refer to the [Cockpit FAQ](/cockpit/faq/#where-does-cockpit-store-data) to understand where Cockpit stores Scaleway and custom data. -### Scaleway data - -Cockpit stores Scaleway data in the same region as the Scaleway resource that produces it: - -- Metrics and logs collected from a Scaleway resource are stored in that region’s data source as **Scaleway Metrics** or **Scaleway Logs**. - -- You cannot configure a different region for where this automatically collected data is stored. - -### Custom data - -In order for Cockpit to store you custom data, you must first create a custom data source in a region of your choice. The data you send will then be stored in that custom data source’s region and will not be replicated across other regions. - -Even though data is region-bound, your Cockpit Grafana instance can query and visualize data across all regions where you have data sources. - -If you are using Scaleway’s preconfigured dashboards in Grafana, make sure you have selected the region of the resource you want to monitor using the drop-down at the top of the dashboard. This filters the dashboards to only show data from the matching regional data-source. - ## Retention period of your data Scaleway offers several retention periods, depending on your [data types](/cockpit/concepts/#data-types). From 4433fcc7cfabe55bee89ac959c5429b479b42914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9da?= <87707325+nerda-codes@users.noreply.github.com> Date: Fri, 2 May 2025 18:00:59 +0200 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: Jessica <113192637+jcirinosclwy@users.noreply.github.com> --- pages/cockpit/faq.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/cockpit/faq.mdx b/pages/cockpit/faq.mdx index 39d524930e..8dd834d456 100644 --- a/pages/cockpit/faq.mdx +++ b/pages/cockpit/faq.mdx @@ -42,11 +42,11 @@ Cockpit stores Scaleway data in the same region as the Scaleway resource that pr ### Custom data -In order for Cockpit to store you custom data, you must first [create a custom data source](/cockpit/how-to/create-external-data-sources/) in a region of your choice. The data you send will then be stored in that custom data source’s region and will not be replicated across other regions. +In order for Cockpit to store your custom data, you must first [create a custom data source](/cockpit/how-to/create-external-data-sources/) in a region of your choice. The data you send will then be stored in that custom data source’s region and not replicated across other regions. Even though data is region-bound, your Cockpit Grafana instance can query and visualize data across all regions where you have data sources. -If you are using Scaleway’s preconfigured dashboards in Grafana, make sure you have selected the region of the resource you want to monitor using the drop-down at the top of the dashboard. This filters the dashboards to only show data from the matching regional data-source. +If you are using Scaleway’s preconfigured dashboards in Grafana, make sure you have selected the region of the resource you want to monitor using the drop-down at the top of the dashboard. This filters the dashboards to only show data from the matching regional data source. ## How am I billed for using Cockpit with my Scaleway data?