-
Notifications
You must be signed in to change notification settings - Fork 267
cockpit(add): data exporter docs #5857
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
Open
nerda-codes
wants to merge
4
commits into
main
Choose a base branch
from
MTA-6728
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
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 |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| --- | ||
| title: How to manage data exports | ||
| description: Learn how to create, update and delete Cockpit metrics and logs data exports | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| dates: | ||
| validation: 2025-11-24 | ||
| posted: 2025-11-24 | ||
| --- | ||
| import Requirements from '@macros/iam/requirements.mdx' | ||
|
|
||
|
|
||
| This page shows you how to create, update and delete Cockpit [data exports](/cockpit/concepts/#data-exports) from the Scaleway console. | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| <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 Project | ||
| - Created Scaleway products integrated into Cockpit or created custom data sources | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| <Message type="important"> | ||
| - Data exports only concern Scaleway metrics and logs, and only for [Scaleway products integrated into Cockpit](/cockpit/reference-content/cockpit-product-integration). Some products export metrics but do not generate logs. | ||
| - Data collection begins only once the export is created. Any data collected beforehand will not be included in the export. | ||
| </Message> | ||
|
|
||
|
|
||
| ## How to create a data export | ||
|
|
||
| 1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays. | ||
nerda-codes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 2. Click the **Data sources** tab. | ||
| 3. Click the **Settings** icon. The data source's **Overview** tab displays. | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 4. Click **Create** under the **Data exports** section. | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 5. Choose an export destination: | ||
|
|
||
| <Tabs> | ||
| <TabsTab label="Datadog"> | ||
| 6. Enter the URL of your Datadog website in the **URL** field. | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| 7. Enter your Datadog API key in the **Datadog API Key** field. | ||
| </TabsTab> | ||
| <TabsTab label="Open Telemetry"> | ||
| 6. Enter your Open Telemetry endpoint in the **URL** field. | ||
| 7. Click **+ Add header** to add a header and attach extra information, like credentials or metadata, to your HTTP requests. | ||
| 8. Enter your token in the **Key** field. | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 9. Enter your token value in the **Value** field. | ||
| 10. Optionally, click **+ Add header** to add more headers. | ||
| </TabsTab> | ||
| </Tabs> | ||
| 6. In the **Products** drop-down, choose products whose metrics/logs you want to export. | ||
| <Message type="note"> | ||
| - Only products that provide metrics/logs to Cockpit are eligible for export. Find out which products are eligible in the [dedicated documentation](/cockpit/reference-content/cockpit-product-integration). | ||
| - Selecting **All current and future products** means that all present Scaleway resources sending metrics/logs to Cockpit, and any future ones you create, will automatically be exported. | ||
| </Message> | ||
| 7. In the **Data export details** section, enter a name for your data export, and optionally add a description. | ||
| 8. Review your purchase summary and click **Create data export** to confirm. | ||
|
|
||
| Your export displays in your data source's **Settings** tab, under the **Data exports** section. | ||
|
|
||
| <Message type="note"> | ||
| - The volume of exported data can vary over time, depending on your infrastructure and workload. For example, creating more Instances increases metrics, and busy Serverless Functions generate more logs. | ||
| - Data exports are created at the **data source level**. If you want to export data from several regions or Projects, you must create one export per region/Project. | ||
| - You can create multiple exports per data source if needed (e.g., sending data to different external tools). | ||
nerda-codes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| </Message> | ||
|
|
||
| ## How to update a data export | ||
|
|
||
| 1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays. | ||
| 2. Click the **Data sources** tab, then the data source you want to edit the export of. | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 3. Click the **Settings** tab. | ||
| 4. Click the <Icon name="seeMore" /> icon next to the data export you want to edit, then click **Edit**. | ||
| 5. Edit your data export as necessary, then click **Edit data export** to confirm. | ||
|
|
||
| ## How to delete a data export | ||
|
|
||
| 1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays. | ||
| 2. Click the **Data sources** tab, then the data source you want to delete the export of. | ||
| 3. Click the **Settings** tab. | ||
| 4. Click the <Icon name="delete" /> icon next to the data export you want to delete. A pop-up appears. | ||
| 5. Type **DELETE** and click **Delete export** to confirm. | ||
|
|
||
| <Message type="important"> | ||
| - Deleting an export stops forwarding data to the export destination. | ||
| - Deletion may take a few minutes before the change becomes fully effective. | ||
| </Message> | ||
|
|
||
| ## How to monitor data exports | ||
|
|
||
| You can monitor your data exports in real time from your Cockpit Grafana dashboard. | ||
|
|
||
| You are **responsible for how your exported data is used** and for **any changes in resource volume**. Adding resources naturally increases the number of generated metrics and logs, and exported volume may fluctuate even without manual action (for example, autoscaling creates additional resources, and therefore, more data to export). | ||
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
nerda-codes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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
Oops, something went wrong.
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.