NavigationContentFooter
Jump toSuggest an edit

How to create and push traces

Reviewed on 19 June 2024Published on 31 October 2023

This page shows you how to create traces from the Scaleway console, retrieve traces push paths, configure the OpenTelemetry HTTP agent, and push traces.

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

Create a trace

  1. Click Cockpit in the Observability section of the console side menu. The Cockpit overview page displays.
  2. Click the Data sources tab.
  3. Click + Create custom data sources. A pop-up displays.
  4. Complete the required steps to create your trace:
    • Enter a name
    • Choose the Traces data type
    • Select a region to create your trace in
  5. Check the estimated cost, then click Create custom data source.

Retrieve traces push paths

Important

Only the OpenTelemetry HTTP push path is supported. Scaleway is working on implementing the Open Telemetry gRPC, Zipkin and Jaeger protocols.

Scaleway provides the following push path for the OpenTelemetry agent: /otlp/v1/traces. The complete endpoint is https://traces.cockpit.fr-par.scw.cloud/otlp/v1/traces.

Alternatively, you can retrieve your trace’s push path from the Scaleway console:

  1. Click Cockpit in the Observability section of the console side menu. The Cockpit overview page displays.
  2. Click the Data sources tab.
  3. Click the trace of which you want to retrieve the path. The trace’s information displays.
  4. Retrieve the push path under the Push path section.

Push traces

  1. Create a token with Push permissions for traces.

    Important

    Your token’s secret key displays only once. Make sure that you copy and save it before you exit the page.

  2. Configure your applications to send traces to your preferred endpoint using your newly-created token to authenticate.

    Note

    You can also configure an agent to push your trace(s). Find out how to configure the Grafana Alloy agent and push your data

  3. Create your Grafana credentials.

  4. Log in to your Grafana account.

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

    Tip

    Find out more information about pushing traces and visualizing them in Grafana, in the official documentation

See also
How to enable the alert managerHow to activate Scaleway preconfigured alerts
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway