Cockpit - Quickstart
Scaleway's Observability Cockpit allows you to monitor your applications and their infrastructure by giving you insights and context into their behavior. With Cockpit, you can visualize your resources' and applications' metrics, logs, and traces in Grafana dashboards. Cockpit is automatically activated when you are using Scaleway resources that are integrated into it.
The Observability Cockpit provides you with endpoints to push metrics, logs, and traces.
Learn how to reduce extra costs and understand Cockpit pricing.
In this documentation, we show you how to retrieve your Grafana credentials to access your Grafana, and how to create a push token to send metrics and logs to your Cockpit. We include tips to go further at the end of this Quickstart, to show you how you can configure the Grafana Alloy agent to push your metrics, logs, and traces to Cockpit and visualize your data in Grafana.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
How to retrieve your Grafana credentials
- Click Cockpit in the Monitoring section of the console side menu. The Cockpit overview page displays.
- Click the Grafana users tab.
- Click Add user.
- Enter a username.
- Select a role for the user.
- Click Add a user. Your automatically generated password to log in to Grafana displays. Make sure to copy and save it before closing the pop-up.
How to create a Cockpit token to push your metrics and logs
- Click Cockpit in the Monitoring 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.
- Choose a name for your token or use the already-generated name.
- Select the permissions you wish to apply to your token.
- Click Create token to confirm. A pop-up displays with your secret key. Make sure that you save the secret key before closing the pop-up.