Owner status or IAM permissions allowing you to perform actions in the intended Organization
Click Cockpit in the Observability section of the console side menu. The Cockpit overview page displays.
Click the Tokens tab.
Click Create token. A pop-up displays prompting you to create a token.
Choose the region to create the token in.
Important
Make sure that you create your token in the same region as the data sources you want to use it for.
Choose a name for your token or use the already-generated name.
Select the permissions you wish to apply to your token.
Important
You must select at least one permission.
Permissions include:
Push: allows you to send your metrics, logs, and traces to your Cockpit.
Query: allows you to fetch your metrics, logs, and traces from your Cockpit.
Rules: allow you to configure alerting and recording rules.
Alerts: allow you to set up the alert manager.
Click Create token to confirm. A pop-up displays with your token’s secret key. Make sure that you save the secret key before closing the pop-up.
Important
Having the default configuration on your agents might lead to more of your resources’ metrics being sent, a high consumption, and a high bill at the end of the month.
Sending metrics and logs for Scaleway resources or personal data using an external path is a billable feature. In addition, any data that you push yourself is billed, even if you send data from Scaleway products. Refer to the product pricing page for more information.