HomeObservabilityCockpitHow to
How to send metrics and logs to your Cockpit

Update content

How to send metrics and logs to your Cockpit

Published on 31 October 2022

This page shows you how to send metrics and logs to your Cockpit.

Identity and Access Management (IAM):

If you have activated IAM, you may need certain IAM permissions to carry out some actions described on this page. This means:

  • you are the Owner of the Scaleway Organization in which the actions will be carried out, or
  • you are an IAM user of the Organization, with a policy granting you the necessary permission sets
Requirements:
  1. Click Cockpit in the Observability section of the console side menu. The Cockpit overview page displays.

  2. Create a token.

  3. Check Metrics and Logs for the Push permission when selecting your token permissions, so your token can write logs and metrics.

    Important:

    Once you have created your token, your secret key displays only once. Make sure you copy and save it before you exit the page.

  4. Configure your applications to send metrics and logs to your Cockpit endpoints, using your newly-created token for authentication.

  5. Log in to your Grafana account.

  6. Create your Grafana dashboard and start monitoring your data.

See Also